WO2014139172A1 - Dynamic bandwidth allocation method, device, and system - Google Patents

Dynamic bandwidth allocation method, device, and system Download PDF

Info

Publication number
WO2014139172A1
WO2014139172A1 PCT/CN2013/072754 CN2013072754W WO2014139172A1 WO 2014139172 A1 WO2014139172 A1 WO 2014139172A1 CN 2013072754 W CN2013072754 W CN 2013072754W WO 2014139172 A1 WO2014139172 A1 WO 2014139172A1
Authority
WO
WIPO (PCT)
Prior art keywords
cnu
media converter
authorization
bandwidth resources
olt
Prior art date
Application number
PCT/CN2013/072754
Other languages
French (fr)
Chinese (zh)
Inventor
孙方林
张利
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2013/072754 priority Critical patent/WO2014139172A1/en
Priority to CN201380000226.5A priority patent/CN103534981B/en
Publication of WO2014139172A1 publication Critical patent/WO2014139172A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • H04L12/2878Access multiplexer, e.g. DSLAM
    • H04L12/2879Access multiplexer, e.g. DSLAM characterised by the network type on the uplink side, i.e. towards the service provider network
    • H04L12/2885Arrangements interfacing with optical systems
    • 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/72Admission control; Resource allocation using reservation actions during connection setup

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, apparatus, and system for dynamic bandwidth allocation.
  • the OLT Optical Line Terminal
  • CNU Coaxial Network Unit
  • 0LT methods for scheduling CNU include:
  • the 0LT After receiving the REPORT message sent by the CNU, the 0LT allocates resources to the CNU according to the REPORT message and notifies the CNU through the GATE message (gating message), so that the CNU uses the allocated resource to transmit data with the 0LT. Specifically, the 0LT sends a GATE message to the CNU through the MC (Media Converter), and the OLT also receives the REPORT message sent by the CNU through the MC.
  • the REPORT message is a sending authorization request
  • the GATE message is a sending authorization.
  • the Grant (authorization start time, authorization time length, ie authorization window) in the GATE message will take effect in the optical domain of the MC uplink. Due to the unpredictable processing delay and transmission delay between the CNU and the MC, the GNU message corresponding to the CNU is deviated or jittered in the authorization window of the coaxial domain and the authorization window of the optical domain, and the optical domain and the coaxial domain are The two time domains are very difficult to synchronize. In addition, there is an indeterminate difference in the line rates of the coaxial domain and the optical domain, so that the line rate resources of the optical domain are wasted, thereby reducing the performance of the system.
  • Embodiments of the present invention provide a method, an apparatus, and a system for dynamic bandwidth allocation, which solve the problem that the CNU corresponding GATE message is authorized in the coaxial domain due to unpredictable processing delay and transmission delay between the CNU and the MC. There is a deviation or jitter between the window and the authorization window of the optical domain, which reduces the performance of the system.
  • a method for dynamic bandwidth allocation including:
  • the media converter receives the CNU data message sent by the CNU, where the CNU data message includes a CNU send authorization request, and the CNU send authorization request is used to request the bandwidth resource of the CNU;
  • the sending authorization of the media converter includes: The bandwidth resource allocated by the OLT to the media converter.
  • the method before the sending the CNU data message to the OLT according to the sending authorization of the media converter, the method further includes:
  • the method before the sending the CNU data message to the OLT according to the sending authorization of the media converter, the method also includes:
  • the transmission authorization request of the media converter is used to request a bandwidth resource of the media converter, so that the OLT sends the authorization request according to the media converter as the medium
  • the converter allocates bandwidth resources.
  • the sending is performed to the OLT according to the sending authorization of the media converter After the CNU data message, the method further includes:
  • the method further includes: determining, by the CNU, the sending authorization Whether the format is allowed to be transmitted in the coaxial domain; if not allowed, the transmission authorization of the CNU is format converted, so that the transmission authorization of the converted format CNU can be sent to the CNU;
  • the CNU data message includes: a logical link label LL ID of a CNU requesting a bandwidth resource; Authorization requests are used to request bandwidth for different LL IDs Source; or,
  • the mediator's transmit grant request is used to request a bandwidth resource according to the total bandwidth resource required, the total bandwidth resource including: a sum of all LL I D requested bandwidth resources, and a bandwidth resource requested by the media converter itself.
  • Another method of dynamic bandwidth allocation including:
  • the OLT receives a CNU data message sent by the media converter, and the CNU data message is sent by the media converter to the OLT according to a transmission authority of the media converter, where the CNU data message includes: a CNU sending an authorization request, The CNU sends an authorization request for requesting a bandwidth resource of the CNU, and the sending authorization of the media converter includes: the bandwidth resource allocated by the OLT to the media converter;
  • the transmission grant includes the bandwidth resource allocated by the OLT for the CNU.
  • the method before the sending the CNU transmission authorization to the media converter, the method further includes:
  • the CNU data message further includes: service and management data, and the CNU data message is available through the LUD (also The link identifier is identified by a CNU, and at least one LL ID can be assigned to a CNU.
  • the CNU data message includes: a logical link label LL ID of a CNU requesting a bandwidth resource;
  • the transmission authorization request of the device to allocate bandwidth resources to the media converter includes:
  • the bandwidth resource is requested according to the required total bandwidth resource, where the total bandwidth resource includes: a sum of bandwidth resources requested by all LL I Ds, and a bandwidth resource requested by the media converter itself.
  • an apparatus for dynamically bandwidth allocation including:
  • a first receiving unit configured to receive a CNU data message sent by the CNU, where the CNU data message includes a sending authorization request of the CNU, where the sending authorization request of the CNU is used to request a bandwidth resource of the CNU;
  • a first sending unit configured to send the CNU data message to the OLT according to the sending authorization of the media converter, so that the OLT allocates a bandwidth resource to the CNU according to the sending authorization request of the CNU, where the media converter Transmitting the authorization includes: the 0LT is a bandwidth resource allocated by the media converter.
  • an apparatus for providing another dynamic bandwidth allocation includes:
  • a first receiving unit configured to receive a CNU data message sent by the media converter, where the CNU
  • the data message is sent by the media converter to the OLT according to a transmission authority of the media converter, where the CNU data message includes: a CNU sending an authorization request, where the CNU sends an authorization request for requesting a bandwidth resource of the CNU,
  • the sending authorization of the media converter includes: the bandwidth resource allocated by the 0LT to the media converter;
  • An allocating unit configured to perform bandwidth resource allocation for the CNU according to the sending authorization request of the CNU
  • a first sending unit configured to send a sending authorization of the CNU to the media converter, so that the media converter sends a sending authorization of the CNU to the CNU, where the sending authorization of the CNU includes the Bandwidth resources allocated by the CNU.
  • a media converter including:
  • a receiver configured to receive a CNU data message sent by the CNU, where the CNU data message includes a sending authorization request of the CNU, where the sending authorization request of the CNU is used to request a bandwidth resource of the CNU;
  • a transmitter configured to send the CNU data message to the OLT according to a sending authorization of the media converter, so that the OLT allocates a bandwidth resource to the CNU according to a sending authorization request of the CNU, where the media converter Transmitting the authorization includes: the 0LT is a bandwidth resource allocated by the media converter.
  • an 0LT including:
  • a receiver configured to receive a CNU data message sent by the media converter, where the CNU data message is sent by the media converter to the OLT according to a sending permission of the media converter, where the CNU data message includes: Request, the CNU sends an authorization request for the request
  • the bandwidth resource of the CNU, the sending authorization of the media converter includes: the bandwidth resource allocated by the 0LT to the media converter;
  • a processor configured to perform bandwidth resource allocation for the CNU according to the sending authorization request of the CNU;
  • a transmitter configured to send a transmission authorization of the CNU to the media converter, so that the media converter sends a sending authorization of the CNU to the CNU, where the sending authorization of the CNU includes the 0LT being allocated to the CNU Bandwidth resources.
  • a system for dynamic bandwidth allocation including:
  • the apparatus for dynamic bandwidth allocation provided by the third aspect and the fourth aspect.
  • a system for dynamic bandwidth allocation including:
  • the media converter provided by the fifth aspect and the 0LT provided by the sixth aspect are identical to the media converter provided by the fifth aspect and the 0LT provided by the sixth aspect.
  • the media converter receives a C data message sent by the CNU, where the CNU data message includes a CNU sending authorization request, and the CNU Sending an authorization request for requesting a bandwidth resource of the CNU; and transmitting the CNU data message to the OLT according to a sending authorization of the media converter, where the CNU data message includes a sending authorization request; Requesting a buffering condition for requesting a bandwidth resource or a data to be sent by the media converter; the OLT allocates a bandwidth resource to the CNU according to a sending authorization request of the CNU, where the sending authorization of the media converter includes :
  • the 0LT is a bandwidth resource allocated by the media converter.
  • the media converter uses the 0LT to send a CNU data message to the OLT for its allocated bandwidth resource instead of sending a CNU data message to the OLT using the bandwidth resources allocated for the CNU in the prior art.
  • the media converter only transmits the uplink data under the transmission authorization of the media converter, thereby avoiding the problem that the system performance is degraded due to the deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
  • FIG. 1 is a schematic structural diagram of an EP0N network system
  • FIG. 2 is a schematic structural diagram of another EPOC network system
  • Figure 4 is a schematic structural diagram of a GATE message
  • Figure 5 is a schematic structural diagram of a REPORT message
  • FIG. 6 is a flowchart of a method for dynamically bandwidth allocation by using a media converter as an execution body according to the embodiment
  • Figure 7 is a system structure diagram applied to the method shown in Figure 6;
  • FIG. 8 is a flowchart of another method for dynamically bandwidth allocation by using a media converter as an execution body according to the embodiment.
  • FIG. 9 is a flowchart of a method for dynamically bandwidth allocation by using OLT as an execution subject according to an embodiment of the present invention
  • FIG. 10 is a flowchart of another method for dynamically bandwidth allocation by using OLT as an execution subject according to an embodiment of the present disclosure
  • FIG. 11 is a schematic structural diagram of a device for dynamic bandwidth allocation provided by this embodiment.
  • FIG. 12 is a schematic structural diagram of another apparatus for dynamic bandwidth allocation provided by this embodiment.
  • FIG. 13 is a schematic structural diagram of another apparatus for dynamic bandwidth allocation provided by the embodiment.
  • FIG. 14 is a schematic structural diagram of another apparatus for dynamic bandwidth allocation provided by the embodiment.
  • 16 is a schematic structural diagram of another media converter provided by this embodiment.
  • 17 is a schematic structural diagram of an 0LT provided by the embodiment.
  • 19 is a schematic structural diagram of another system for dynamic bandwidth allocation provided by this embodiment. detailed description
  • OLT Optical Line Terminal
  • TDM time-division multiplexing
  • the transmission from 0NU to 0LT is in the uplink direction, and the TDMA mode is used. That is, the uplink data transmission is bursty. Different 0NUs occupy different uplink time slots, and multiple 0NUs share the uplink through time division multiplexing. There is a guard interval to avoid collisions between each upstream time slot.
  • the uplink transmission needs to use the ranging technology to measure the loop delay of the 0LT downlink data signal sent to the uplink, and delay compensation according to this, to ensure that the uplink signal in each 0NU is After the common optical fibers are merged, the specified time slots are inserted, and no collision occurs with each other, and the gap is not too large, even if the time sent by different 0NUs reaches 0LT is different.
  • FIG. 2 it is a system structure diagram of an EPOC, where the MC can be, but is not limited to, a format for converting data transmitted from an optical domain into a format suitable for transmission in a coaxial domain, and can also be used for The format of the data transmitted from the coaxial domain is converted into a format suitable for transmission in the optical domain.
  • the MC can be, but is not limited to, a format for converting data transmitted from an optical domain into a format suitable for transmission in a coaxial domain, and can also be used for The format of the data transmitted from the coaxial domain is converted into a format suitable for transmission in the optical domain.
  • 0LT Before 0LT communicates with MC and CNU, 0LT first needs to allocate bandwidth for MC and CNU.
  • the 0LT performs bandwidth allocation for the CNU, including: The CNU sends a REPORT message to the OLT through the MC (in this case, the MC can be used to convert the format of the coaxial data request message into a format suitable for transmission in the optical domain), REPORT message Including the bandwidth resource of the CNU requesting or the buffering of the data to be sent; 0LT allocates bandwidth for the CNU according to the received REPORT message, and Sending a GATE message containing the allocated bandwidth resource to the CNU through the MC (in this case, the MC can convert the format of the GATE message into a format suitable for transmission in the coaxial domain;); the CNU receives the GATE message in the coaxial domain.
  • the medium sends the corresponding data to the MC, and then the MC forwards the data to the OLT, where the corresponding data includes the service data of the CNU and the REPORT message.
  • the subsequent steps are similar to the previous ones and will not be described here.
  • 0LT for the MC to divide the bandwidth includes: The MC sends a REPORT message to the 0LT, and the REPORT message includes the bandwidth resource of the MC request or the buffering of the data to be sent; 0LT allocates the bandwidth for the MC according to the received REPORT message, and sends the bandwidth to the MC.
  • the GATE message further includes, but is not limited to, a start time (ie, an authorization start time) at which the MC sends data to the OLT, and a time period during which data is allowed to be transmitted (ie, authorization)
  • the MC sends corresponding data to the OLT in the optical domain according to the received GATE message, the corresponding data including service data from the CNU, a REPORT message from the CNU, and a REPORT message of the MC.
  • the subsequent steps are similar to the previous ones and will not be described here.
  • the 0FMDA Orthogonal Frequency Division Multiple Address
  • the 0LT needs to perform time and frequency based two-dimensional bandwidth allocation on the CNU.
  • a time-frequency block (RB, Resource Block) composed of N symbols and M frequency resource dimension structures is a minimum scheduling resource, and a bandwidth resource allocated for each CNU time-frequency block can pass MAP (Media).
  • MAP Media
  • the MC may be to convert a GATE message containing a time-based one-dimensional bandwidth resource into a MAP message containing a time and frequency based two-dimensional bandwidth resource.
  • FIG. 4 it is a schematic diagram of a GATE message format of an Ethernet passive optical network.
  • Grant#n Length can indicate the weighted length of the target 4 (authorized window)
  • Grant#n Start time can represent 4 authorized start time
  • n l, 2, 3, 4, in other words, 0LT can be MC at the same time.
  • CNU allocates at least one 4 authorized window.
  • the Number of queue sets may indicate the number of queued queues at the time of generating the REPORT message
  • the GATE message is directly sent to the CNU, because of the unpredictable processing delay and transmission delay between the CNU and the MC, the GNU message corresponding to the CNU is in the authorization window and the optical domain of the coaxial domain. There are deviations or jitters in the authorization window. The two time domains of the optical domain and the coaxial domain are very difficult to synchronize. In addition, there are uncertain differences in the linear rate between the coaxial domain and the optical domain, so that the linear rate resources of the optical domain are wasted. Reduced system performance.
  • the execution body of the method may be a media converter.
  • the media converter may be: but not limited to: MC, CLT (Coaxial Line Terminal, coaxial line terminal) Etc, as shown in Figure 6, includes:
  • the media converter receives the CNU data request message sent by the CNU.
  • the CNU data message includes but is not limited to: CNU's sending authorization request, and the CNU's sending authorization request may be, but not limited to, a bandwidth resource for requesting the CNU, or a cache condition for describing the CNU's data to be transmitted.
  • the transmission authority of the media converter includes but is not limited to: 0LT allocates bandwidth resources for the media converter.
  • the media converter receives the CNU data message sent by the CNU, the CNU data message includes a CNU transmission authorization request, and the CNU transmission authorization request is used to request the CNU bandwidth resource; and sends the transmission to the 0LT according to the transmission permission of the media converter.
  • the CNU data message so that the 0LT allocates bandwidth resources to the CNU according to the CNU's sending authorization request, and the media converter's sending authorization includes: 0LT allocates bandwidth resources for the media converter.
  • the media converter uses the 0LT to send CNU data messages to the OLT for its allocated bandwidth resources, instead of sending CNU data messages to the OLT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter.
  • the uplink data is sent under the transmission authorization, thereby avoiding the problem that the performance of the system is degraded due to deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
  • FIG. 7 is a system structure diagram of the embodiment. The method may include:
  • the media converter sends an authorization request to the 0LT transmission media converter, and the media converter receives the transmission authorization of the media converter sent by the OLT; and the media converter can also receive the CNU transmission authorization request sent by the CNU; the media converter according to the received medium Transmitter authorization
  • the authorization start time and the authorization window send the CNU transmission authorization request, the CNU data, and the media converter's transmission authorization request to the OLT (the above-mentioned media converter's transmission authorization request can be used to request to send the current bandwidth resources of each queue).
  • the media converter After receiving the transmission authorization of the first media converter corresponding to the transmission authorization request of the first media converter, transmitting the first part of data and the second medium converter's transmission authorization request, when receiving the second After the media converter sends the authorization, the second part of the data and the next media converter's transmission authorization request are sent, and the subsequent steps are described.) If the media converter receives the CNU transmission authorization, the format conversion may be performed.
  • the CNU's sending authorization is sent to the CNU (or the CNU's sending authorization can also be sent directly to the CNU).
  • the CNU sends the service and management data to the media converter and the next CNU's sending authorization request according to the CNU sending authorization.
  • the method specifically includes:
  • the media converter sends a transmission authorization request to the media converter to the 0LT.
  • the transmission authorization request of the media converter may be, but is not limited to, an uplink bandwidth resource for requesting the CNU, and the transmission authorization request of the media converter includes but is not limited to: an uplink bandwidth resource requested by the media converter.
  • the sending authorization request of the media converter further includes: but is not limited to: each LL ID (Log ID), the uplink data to be sent or A bandwidth resource request, or a total pending data condition or a total bandwidth resource request for the media converter uplink.
  • the bandwidth resource requested by the media converter may be, but is not limited to, total to-be-sent data for the media converter to send the media converter to the OLT, and the total data to be transmitted includes but is not limited to: a media converter At least one of sending an authorization request, a mediator's pending data, and a CNU data message.
  • the transmission authorization request of the media converter may be, but is not limited to, a REPORT message of the media converter, where the REPORT message is used to indicate a data bandwidth resource requested by the media converter, and the REPORT message includes but is not limited to Data queue length or bandwidth resource request to be sent, etc.
  • the sending authorization may refer to an uplink sending authorization, including an uplink of the optical domain and the coaxial domain.
  • the media converter receives the CNU data message sent by the CNU.
  • the CNU data message includes but is not limited to: CNU sends an authorization request, and the CNU sends an authorization request including but not limited to: bandwidth resources of the CNU request.
  • the CNU When the CNU has traffic and management data that needs to be sent to the 0LT, the CNU sends a CNU send authorization request to the media converter.
  • the CNU's sending authorization request may be a CNU REPORT message
  • the CNU REPORT message includes, but is not limited to, a bandwidth resource of the CNU request, or a length of the data queue to be sent by the CNU.
  • the CNU data message further includes: service and management data.
  • step 8 03. Determine whether the format of the CNU data message is allowed to be transmitted in the optical domain. If not allowed, go to step 8 04 and if it is allowed, go to step 8 05.
  • the determination of whether the format of the CNU data message is allowed to be transmitted in the optical domain is not limited, and is a technique well known to those skilled in the art, and may be set according to actual needs, and details are not described herein again. 8 04. Formatting the CNU data message so that the converted CNU data message can be sent to the 0LT.
  • the CNU belongs to the coaxial domain device, and the 0LT belongs to the optical domain device. If the format of the CNU data message is not allowed to be transmitted in the optical domain, the media converter needs to convert the format of receiving the CNU data message to be suitable for the light.
  • the format transmitted in the domain is such that the converted CNU data message can be sent to the OLT.
  • the media converter receives the transmission authorization sent by the 0LT.
  • the sending authorization received by the media converter in this step may be a transmission authorization of the media converter or a transmission authorization of the CNU.
  • the transmission authority of the media converter or the transmission authority of the CNU provided in this embodiment may be a GATE message of the media converter or a GATE message of the CNU, respectively.
  • the GATE message of the media converter includes the bandwidth resource allocated by the 0LT to the media converter according to the REPORT message of the media converter, that is, the authorization start time and the authorization window of the media converter to send the data;
  • the GNU message of the CNU includes the 0LT REPORT message according to the CNU.
  • the bandwidth resource allocated for the CNU that is, the authorization start time and authorization window for the CNU to send data.
  • step 8 06. Determine whether the sending authorization is a sending authorization of the media converter or a sending authorization of the CNU according to the identifier included in the sending authorization. If it is the transmission authority of the media converter, go to step 8 07. If the CNU sends the authorization, go to step 8 08.
  • the transmission authority of the media converter includes but is not limited to: the identifier of the media converter, and the CNU's transmission authorization includes: CNU identification.
  • the transmission authority of the media converter includes but is not limited to: 0LT allocates bandwidth resources for the media converter.
  • the media converter follows the scheduling principle of the MC to transmit data corresponding to the transmission authority of the media converter and the next media converter authorization request of the media converter data.
  • the data sent by the media converter to the OLT according to the transmission authorization of the media converter is not limited, and is a technology well known to those skilled in the art, and may be set according to actual needs, and details are not described herein again.
  • the CNU data message may include: a CNU logical link tag LL ID requesting a bandwidth resource. At least one LL ID can be included in each CNU.
  • the mediator's sending authorization request is used to request bandwidth resources of different LL IDs respectively;
  • the media converter's transmit grant request is used to request bandwidth resources according to the total bandwidth resource required.
  • the total bandwidth resources include: the sum of the bandwidth resources requested by all LL IDs, and the bandwidth resources requested by the media converter itself.
  • the method for obtaining the CNU LL ID without the converter may include: obtaining from a CNU data message; or.
  • the media converter stores a correspondence between the LL ID and the transmission authorization time. After receiving the transmission authorization request, the media converter queries the LL ID corresponding to the transmission authorization request received at the time according to the received transmission authorization request.
  • This embodiment does not limit the method for obtaining the LL ID by the media converter, and is a person skilled in the art.
  • the technology is well known and can be set according to actual needs, and will not be described here. Go to step 8 01.
  • step 8 09 Determine whether the format of the CNU's transmission authorization is allowed to be transmitted in the coaxial domain. If not allowed, step 8 09 is performed, and if allowed, step 8 1 0 is performed.
  • the method for determining whether the format of the transmission authorization of the CNU is allowed to be transmitted in the coaxial domain is not limited, and is a technique well known to those skilled in the art, and may be set according to actual needs, and details are not described herein again.
  • the media converter performs format conversion on the CNU transmission authorization, so that the CNU transmission authorization after the conversion format can be sent to the CNU.
  • the CNU belongs to the coaxial domain device, and the 0LT belongs to the optical domain device.
  • the media converter needs to convert the format of the transmission authorization received by the CNU into a MAP format suitable for transmission in the coaxial domain, so that the formatted CNU is converted. Sending authorizations can be sent to the CNU.
  • the method for converting the transmission authorization format of the CNU is not limited, and is a technology that is well known to those skilled in the art, and can be set according to actual needs, and details are not described herein again.
  • the CNU transmission authorization includes but is not limited to: 0LT allocates bandwidth resources allocated to the CNU according to the CNU authorization request after the conversion format.
  • the bandwidth resource allocated by the 0LT to the CNU may be, but not limited to, used by the CNU to send service and management data to the media converter and the CNU's transmission authorization request.
  • the media converter sends the CNU send authorization to the CNU.
  • this step is a CNU after the media converter sends the converted format to the CNU. Send authorization.
  • the CNU sends a CNU data message to the media converter according to the received CNU transmission authorization.
  • the sending authorization of the CNU may be, but not limited to, a GATE message of the CNU.
  • the GNU message of the CNU includes but is not limited to: an authorization start time and an authorization window of the CNU sending data, or a format conversion. MAP message, etc.
  • the CNU sends a CNU data message to the media converter according to the received GATE message, where the CNU data message includes: the current service and management data to be sent, or the data bandwidth request to be sent, and the like.
  • the CNU data message includes but is not limited to: CNU service and management data, and CNU sends an authorization request.
  • the media converter receives the CNU data message sent by the CNU, the CNU data message includes the CNU sending authorization request, the CNU sending authorization request is used to request the CNU bandwidth resource; and according to the media converter's sending authorization to the 0LT Sending a CNU data message, and sending an authorization request, the media converter's sending authorization request is used to indicate the media converter's bandwidth resource request or the buffering of the to-be-sent data; 0LT allocates bandwidth resources to the CNU according to the CNU's sending authorization request, the medium
  • the transmit authorization of the converter includes: 0LT allocates bandwidth resources for the media converter.
  • the media converter uses the 0LT to send CNU data messages to the OLT for its allocated bandwidth resources, instead of sending CNU data messages to the OLT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter.
  • Sending data under the authorization of the transmission which can avoid the deviation or jitter caused by the authorization window of the coaxial domain and the authorization window of the optical domain. The problem of degraded performance.
  • This embodiment provides another method for dynamic bandwidth allocation, and the execution body of the method may be
  • 0LT as shown in Figure 9, includes:
  • the CNU data message may be sent by the media converter to the OLT according to the transmission authority of the media converter.
  • the CNU data message includes but is not limited to: a CNU sending authorization request, the CNU sending authorization request is used to request the CNU bandwidth resource, and the media converter
  • the transmission authorization includes but is not limited to: 0LT allocates bandwidth resources for the media converter.
  • Bandwidth resource allocation is performed for C Li according to the CNU's sending authorization request.
  • the CNU's sending authorization includes but is not limited to: 0LT allocates bandwidth resources for the CNU.
  • the 0LT receives the CNU data message sent by the media converter, and the CNU data message is sent by the media converter to the OLT according to the transmission permission of the media converter.
  • the CNU data message includes: CNU sending authorization request, CNU sending The authorization request is used to request the bandwidth resource of the CNU.
  • the transmission authority of the media converter includes: 0LT allocates bandwidth resources for the media converter; allocates bandwidth resources for the CNU according to the CNU's sending authorization request; sends the CNU transmission authorization to the media converter. , so that the media converter sends a CNU transmission authorization to the CNU, and the CNU transmission authorization includes the bandwidth resource allocated by the 0LT for the CNU.
  • the media converter uses the 0LT to send CNU data messages to the OLT for its allocated bandwidth resources, instead of sending CNU data messages to the OLT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter.
  • the data is transmitted under the authorization of the transmission, thereby avoiding the problem that the performance of the system is degraded due to deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
  • This embodiment provides another method for dynamic bandwidth allocation, which is a further extension of the method shown in FIG. 9, as shown in FIG. 10, including:
  • the CNU data message may be sent by the media converter to the OLT according to the transmission authority of the media converter.
  • the CNU data message includes but is not limited to: a CNU sending authorization request, the CNU sending authorization request is used to request the CNU bandwidth resource, and the media converter
  • the transmission authorization includes but is not limited to: 0LT allocates bandwidth resources for the media converter.
  • the CNU data message further includes: service and management data.
  • bandwidth resource allocated by the 0LT to the CNU according to the CNU authorization request can be used by the CNU to send service and management data and CNU authorization requests to the media converter.
  • the CNU's sending authorization includes but is not limited to: 0LT allocates bandwidth resources for the CNU.
  • the transmission authorization request of the media converter may be, but is not limited to, a bandwidth resource for requesting the media converter, and the transmission authorization request of the media converter includes but is not limited to: a bandwidth resource requested by the media converter.
  • the CNU data message includes: a CNU logical link tag LLID requesting a bandwidth resource.
  • the bandwidth resource allocation to the media converter according to the transmission authority request of the media converter includes, but is not limited to: requesting bandwidth resources according to the broadband resources required by different LLIDs, respectively.
  • the media converter requests bandwidth resources according to the broadband resources required by different LLIDs, so that the 0LT requests bandwidth resources to allocate bandwidth resources to the CNU according to different LLIDs.
  • the media converter receives and sends a CNU data message respectively identified by LLID1 and LLID2 to the OLT, and the 0LT can identify the service and management data of different CNUs by using the LLID; then, 0LT is the service and management data identified by LLID1 and LLID2, respectively.
  • the resource allocation is performed, and the transmission authorization corresponding to LLID1 and LLID2 is obtained, and the transmission 4 authorization corresponding to LLID1 and LLID2 can be respectively sent to the media converter.
  • performing bandwidth resource allocation on the media converter according to the sending authorization request of the media converter further includes: requesting the bandwidth resource according to the required total bandwidth resource, where the total bandwidth resource includes: a sum of bandwidth resources requested by all LL IDs, and a media converter The bandwidth resource requested by itself.
  • the media converter receives and sends a CNU data message respectively identified by LLID1 and LLID2 to the OLT, and the 0LT can identify the service and management data of different CNUs by using the LLID, and can obtain the service and management of the CNU identified by the LLID1 and the LLID2.
  • the media converter sends a send authorization.
  • the method for the bandwidth allocation of the media converter in this embodiment is not limited, and is not limited to the above-mentioned methods, and may be set according to actual needs, and details are not described herein again.
  • steps 1 001 to 00 3 are used to describe that the OLT allocates bandwidth resources for the CNU
  • steps 1 004 to 006 are used to describe the OLT to allocate bandwidth resources to the media converter.
  • the bandwidth resource allocation is performed for the CNU and the media converter, and the bandwidth resource allocation can be separately performed for the CNU and the media converter, but the order of resource allocation is not limited.
  • the 0LT receives the CNU data message sent by the media converter, and the CNU data message is sent by the media converter to the OLT according to the transmission permission of the media converter.
  • the CNU data message includes: CNU sending authorization request, CNU sending The authorization request is used to request the bandwidth resource of the CNU.
  • the transmission authority of the media converter includes: 0LT allocates bandwidth resources for the media converter; allocates bandwidth resources for the CNU according to the CNU's sending authorization request; sends the CNU transmission authorization to the media converter. , so that the media converter sends a CNU transmission authorization to the CNU, and the CNU transmission authorization includes the bandwidth resource allocated by the 0LT for the CNU.
  • the media converter uses the 0LT to send CNU data messages to the OLT for its allocated bandwidth resources, instead of sending CNU data messages to the OLT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter.
  • the uplink data is sent under the transmission authorization, thereby avoiding the problem that the performance of the system is degraded due to deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
  • the embodiment provides a device for dynamic bandwidth allocation.
  • the first receiving unit 1 1 1 is configured to receive a CNU data message sent by the CNU, where the CNU data message includes a CNU sending authorization request, CNU.
  • the sending authorization request is used to request the bandwidth resource of the CNU;
  • the first sending unit 1 1 2 is configured to send a CNU data message to the OLT according to the sending authorization of the media converter, so that the OLT allocates bandwidth resources to the CNU according to the CNU sending authorization request, where the media converter sends the authorization: 0LT is the medium The bandwidth resource allocated by the converter.
  • the first receiving unit is configured to receive a CNU data message sent by the CNU, where the CNU data message includes a CNU sending authorization request, and the CNU sending authorization request is used to request a bandwidth resource of the CNU;
  • the CNU data message is sent to the OLT according to the sending authorization of the media converter, so that the OLT allocates the bandwidth resource to the CNU according to the CNU's sending authorization request, and the media converter's sending authorization includes: 0LT allocates the bandwidth resource for the media converter.
  • the media converter uses the 0LT to send CNU data messages to the OLT for its allocated bandwidth resources, instead of sending CNU data messages to the OLT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter.
  • Sending data under the authorization of the transmission can avoid the problem that the system performance is degraded due to the deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
  • This embodiment provides a device for dynamic bandwidth allocation.
  • the device is a further extension of the device shown in FIG. 11. As shown in FIG. 12, the method includes:
  • the first receiving unit 1 2 1 is configured to receive a CNU data message sent by the CNU, and the CNU data is cancelled.
  • the information includes the CNU sending authorization request, and the CNU sending authorization request is used to request the bandwidth resource of the CNU;
  • the first sending unit 122 is configured to send a CNU data message to the OLT according to the sending authorization of the media converter, so that the OLT allocates bandwidth resources to the CNU according to the CNU sending authorization request, where the media converter sends the authorization: 0LT is the media converter.
  • the allocated bandwidth resource is configured to send a CNU data message to the OLT according to the sending authorization of the media converter, so that the OLT allocates bandwidth resources to the CNU according to the CNU sending authorization request, where the media converter sends the authorization: 0LT is the media converter.
  • the allocated bandwidth resource is configured to send a CNU data message to the OLT according to the sending authorization of the media converter
  • the apparatus for dynamic bandwidth allocation further includes:
  • the first determining unit 123 is configured to determine whether the format of the CNU data message is allowed to be transmitted in the optical domain before sending the CNU data message to the OLT according to the sending authorization of the media converter; the first converting unit 124, if When allowed, the CNU data message is format converted so that the converted format CNU data message can be sent to the OLT.
  • the apparatus for dynamic bandwidth allocation further includes:
  • the second receiving unit 125 is configured to receive the sending authorization sent by the 0LT before sending the CNU data message to the 0LT according to the sending authorization of the media converter;
  • the determining unit 126 is configured to determine, according to the identifier included in the sending authorization, whether the sending authorization is a sending authorization of the media converter or a sending authorization of the CNU, and the sending authorization of the CNU includes a bandwidth resource allocated by the 0LT to the CNU.
  • the apparatus for dynamic bandwidth allocation further includes:
  • the second determining unit 127 is configured to, after determining, according to the identifier included in the sending authorization, whether the sending authorization is a sending authorization of the media converter or a sending authorization of the CNU, if the sending authorization is
  • the CNU sends an authorization to determine whether the format of the CNU's transmission authorization is allowed to be transmitted in the coaxial domain;
  • the second converting unit 128 is configured to: if not allowed, perform format conversion on the CNU transmission authorization, so that the CNU transmission authorization of the converted format can be sent to the CNU;
  • the second sending unit 129 is configured to send, to the CNU, a transmission authorization of the CNU after the conversion format. Further, the apparatus for dynamic bandwidth allocation provided by this embodiment further includes:
  • the third sending unit 1210 is configured to send a sending authorization request of the media converter to the OLT before sending the CNU data message to the OLT according to the sending permission of the media converter, where the mediator's sending authorization request is used to request the bandwidth of the media converter Resources, so that the OLT allocates bandwidth resources to the media converter according to the transmission authorization request of the media converter;
  • the third receiving unit 1211 is configured to receive a transmission authorization of the media converter.
  • the CNU data message received by the first receiving unit 121 further includes: service and management data.
  • the CNU data message includes: a CNU logical link tag LLID requesting a bandwidth resource;
  • the mediator's sending authorization request is used to request bandwidth resources of different LLIDs respectively;
  • the mediator's transmit grant request is used to request bandwidth resources according to the total bandwidth resource required.
  • the total bandwidth resources include: the sum of all the bandwidth resources requested by the LLID, and the bandwidth resources requested by the media converter itself.
  • the first receiving unit is configured to receive a CNU data message sent by the CNU, where the CNU data message includes a CNU sending authorization request, and the CNU sending authorization request is used to request a bandwidth resource of the CNU; Send to 0LT according to the transmission authorization of the media converter CNU data message, so that the OLT performs bandwidth resource allocation to the CNU according to the CNU's sending authorization request, and the media converter's sending authorization includes: 0LT allocates bandwidth resources for the media converter.
  • the media converter uses the 0LT to send CNU data messages to the OLT for its allocated bandwidth resources, instead of sending CNU data messages to the OLT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter.
  • the uplink data is sent under the transmission authorization, thereby avoiding the problem that the performance of the system is degraded due to deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
  • the embodiment provides another device for dynamic bandwidth allocation, as shown in FIG. 13 , comprising: a first receiving unit 1 3 1 for receiving a CNU data message sent by a media converter, where the CNU data message is a media converter according to The transmission authority of the media converter is sent to the OLT.
  • the CNU data message includes: the CNU sends an authorization request, the CNU sends an authorization request for requesting the bandwidth resource of the CNU, and the transmission authority of the media converter includes: 0LT allocates a bandwidth resource for the media converter.
  • a first allocating unit 1 32 configured to perform bandwidth resource allocation for the CNU according to the CNU sending authorization request;
  • the first sending unit 1 3 3 is configured to send a CNU transmission authorization to the media converter, so that the media converter sends a CNU transmission authorization to the CNU, and the CNU transmission authorization includes a bandwidth resource allocated by the CLT to the CNU.
  • the first receiving unit is configured to receive a CNU data message sent by the media converter, and the CNU data message is sent by the media converter to the 0LT according to the sending permission of the media converter, where the CNU data message includes: CNU sending authorization
  • the request the CNU sends an authorization request for requesting the bandwidth resource of the CNU
  • the transmission authority of the media converter includes: 0LT is a media converter a bandwidth allocation resource; a first allocation unit, configured to perform bandwidth resource allocation for the CNU according to a CNU transmission authorization request; a first sending unit, configured to send a CNU transmission authorization to the media converter, so that the media converter sends the CNU to the CNU
  • the sending authorization, the CNU's sending authorization includes the bandwidth resources allocated by the 0LT for the CNU.
  • the media converter uses 0LT to send CNU data messages to the 0LT for its allocated bandwidth resources, instead of sending CNU data messages to the 0LT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter.
  • the uplink data is sent under the transmission authorization, thereby avoiding the problem that the performance of the system is degraded due to deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
  • This embodiment provides another device for dynamic bandwidth allocation.
  • the device is a further extension to the device shown in FIG. 13, as shown in FIG.
  • the first receiving unit 1 4 1 is configured to receive a CNU data message sent by the media converter, where the CNU data message is sent by the media converter to the OLT according to the sending permission of the media converter, where the CNU data message includes: CNU sending an authorization request, CNU The sending authorization request is used to request the bandwidth resource of the CNU, and the sending authorization of the media converter includes: 0LT allocates a bandwidth resource for the media converter; the first allocating unit 1 4 2 is configured to perform bandwidth resources for the CNU according to the CNU sending authorization request. Assignment
  • the first sending unit 1 4 3 is configured to send a CNU transmission authorization to the media converter, so that the media converter sends a CNU transmission authorization to the CNU, and the CNU transmission authorization includes a bandwidth resource allocated by the CLT to the CNU.
  • the apparatus for dynamic bandwidth allocation further includes:
  • a second receiving unit 1 44 configured to send a CNU transmission authorization to the media converter, Receiving a transmission authorization request of the media converter sent by the media converter, and the sending authorization request of the media converter is used to request a bandwidth resource of the media converter;
  • a second allocating unit 145 configured to perform bandwidth resource allocation on the media converter according to the sending authorization request of the media converter
  • the second sending unit 146 is configured to send a transmission authorization of the media converter to the media converter. Further, the CNU data message received by the first receiving unit 141 further includes: service and management data.
  • the CNU data message includes: a CNU logical link tag LLID requesting a bandwidth resource;
  • the allocation unit 142 includes:
  • the first allocation module 1421 is configured to request bandwidth resources of different LLIDs respectively; or the second allocation module 1422 is configured to request bandwidth resources according to the total bandwidth resources required, where the total bandwidth resources include: a sum of bandwidth resources requested by all LLIDs, And the bandwidth resources requested by the media converter itself.
  • the first receiving unit is configured to receive a CNU data message sent by the media converter, and the CNU data message is sent by the media converter to the 0LT according to the sending permission of the media converter, where the CNU data message includes: CNU sending authorization
  • the CNU sends an authorization request for requesting the bandwidth resource of the CNU
  • the transmission authority of the media converter includes: 0LT allocates a bandwidth resource for the media converter
  • the first allocation unit is configured to perform bandwidth resources for the CNU according to the CNU sending authorization request.
  • the first sending unit is configured to send a CNU sending authorization to the media converter, so that the media converter sends a CNU sending authorization to the CNU, and the CNU sending authorization includes 0LT Bandwidth resources allocated by the CNU.
  • the media converter uses 0LT to send CNU data messages to the 0LT for its allocated bandwidth resources, instead of sending CNU data messages to the 0LT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter.
  • the uplink data is sent under the transmission authorization, thereby avoiding the problem that the performance of the system is degraded due to deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
  • This embodiment provides a media converter, as shown in FIG. 15, including:
  • the receiver 1 5 1 is configured to receive a CNU data message sent by the CNU, the CNU data message includes a CNU sending authorization request, the CNU sending authorization request is used to request the CNU bandwidth resource, and the transmitter 1 5 2 is configured to convert according to the medium.
  • the sending authorization of the device sends a CNU data message to the OLT, so that the OLT allocates the bandwidth resource to the CNU according to the sending authorization request of the CNU, and the sending authorization of the media converter includes: 0LT allocates the bandwidth resource for the media converter.
  • the receiver is configured to receive a CNU data message sent by the CNU, the CNU data message includes a CNU send authorization request, the CNU send authorization request is used to request the CNU bandwidth resource, and the transmitter is configured to convert according to the medium.
  • the sending authorization of the device sends a CNU data message to the OLT, so that the OLT allocates the bandwidth resource to the CNU according to the sending authorization request of the CNU, and the sending authorization of the media converter includes: 0LT allocates the bandwidth resource for the media converter.
  • the media converter uses the 0LT to send CNU data messages to the OLT for its allocated bandwidth resources, instead of sending CNU data messages to the OLT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter.
  • This embodiment provides another media converter, which is a further extension of the media converter shown in FIG. 15, as shown in FIG.
  • the receiver 161 is configured to receive a CNU data message sent by the CNU, where the CNU data message includes a CNU send authorization request, the CNU send authorization request is used to request the CNU bandwidth resource, and the transmitter 162 is configured to send the authorization according to the media converter.
  • the media converter provided in this embodiment further includes:
  • the processor 163 is further configured to: before sending the CNU data message to the OLT according to the sending permission of the media converter, determining whether the format of the CNU data message is allowed to be transmitted in the optical domain; if not, performing the CNU data message The format conversion enables the converted CNU data message to be sent to the OLT.
  • the receiver 161 is further configured to: before sending the CNU data message to the 0LT according to the sending permission of the media converter, receive the sending authorization of the media converter sent by the 0LT;
  • the transmitter 162 is further configured to send a transmission authorization request of the media converter to the OLT before receiving the transmission authorization of the media converter sent by the OLT, and the transmission authorization request of the media converter is used to request the bandwidth resource of the media converter, so as to The media converter is allocated bandwidth resources according to the transmission authority request of the media converter.
  • the receiver 161 is further configured to transmit to the OLT according to the transmission authority of the media converter. After the CNU data message is sent, the CNU transmission authorization sent by the OLT is received, and the CNU transmission authorization includes: 0LT allocates a bandwidth resource for the CNU.
  • the processor 1 6 3 is further configured to: after receiving the transmission authorization of the CNU sent by the 0LT, determine whether the format of the CNU transmission authorization is allowed to be transmitted in the coaxial domain;
  • the CNU transmission authorization is format converted, so that the CNU transmission authorization after the conversion format can be sent to the CNU;
  • the transmitter 1 62 is also used to send the CNU transmission authorization of the converted format to the CNU.
  • the CNU data message received by the receiver 116 may further include: CNU service and management data and/or CNU logical link label LL I D requesting bandwidth resources;
  • the mediator's transmit authorization request is used to request bandwidth resources of different LL I Ds respectively;
  • the media converter's transmit grant request is used to request bandwidth resources according to the total bandwidth resource required.
  • the total bandwidth resources include: the sum of the bandwidth resources requested by all LL I Ds, and the bandwidth resources requested by the media converter itself.
  • the receiver is configured to receive a CNU data message sent by the CNU, the CNU data message includes a CNU send authorization request, the CNU send authorization request is used to request the CNU bandwidth resource, and the transmitter is configured to convert according to the medium.
  • the sending authorization of the device sends a CNU data message to the OLT, so that the OLT allocates the bandwidth resource to the CNU according to the sending authorization request of the CNU, and the sending authorization of the media converter includes: 0LT allocates the bandwidth resource for the media converter.
  • the media converter uses the 0LT to send a CNU data message to the 0LT for its allocated bandwidth resource, instead of sending a CNU data message to the 0LT using the bandwidth resource allocated for the CNU in the prior art, thus, the medium is transferred.
  • the converter only transmits the uplink data under the transmission authorization of the media converter, thereby avoiding the problem that the system performance is degraded due to the deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
  • This embodiment provides an 0LT, as shown in FIG. 17, including:
  • the receiver 171 is configured to receive a CNU data message sent by the media converter, where the CNU data message is sent by the media converter to the OLT according to the sending permission of the media converter, where the CNU data message includes: the CNU sends an authorization request, and the CNU sends the authorization request.
  • the transmission authority of the media converter includes: 0LT allocates a bandwidth resource for the media converter;
  • the processor 172 is configured to perform bandwidth resource allocation for the CNU according to the CNU sending authorization request.
  • the transmitter 173 is configured to send a CNU sending authorization to the media converter, so that the media converter sends the CNU sending authorization to the CNU, and the CNU sends the CNU.
  • Authorization includes the bandwidth resources allocated by the 0LT for the CNU.
  • the receiver 171 is further configured to: before sending the CNU transmission authorization to the media converter, receive a transmission authorization request of the media converter sent by the media converter, and the media converter sends an authorization request for requesting the media converter.
  • Bandwidth resources
  • the processor 172 is further configured to perform bandwidth resource allocation on the media converter according to the sending authorization request of the media converter;
  • the transmitter 173 is further configured to send a transmission authorization of the media converter to the media converter.
  • the CNU data message received by the receiver 171 further includes: service and management data. Further, the CNU data message includes: a CNU logical link tag requesting a bandwidth resource
  • the processor 1 72 is specifically configured to request bandwidth resources of different LL IDs respectively; or, according to the required total bandwidth resources, request bandwidth resources, where the total bandwidth resources include: a sum of bandwidth resources requested by all LL IDs, and a request of the media converter itself Bandwidth resources.
  • the receiver is configured to receive a CNU data message sent by the media converter, where the CNU data message is sent by the media converter to the OLT according to the sending permission of the media converter, and the CNU data message includes: the CNU sends an authorization request, The CNU sends an authorization request for requesting the bandwidth resource of the CNU, and the transmission authority of the media converter includes: 0LT allocates a bandwidth resource for the media converter; and the processor is configured to allocate bandwidth resources for the CNU according to the CNU sending authorization request; the transmitter And sending a CNU transmission authorization to the media converter, so that the media converter sends a CNU transmission authorization to the CNU, and the CNU transmission authorization includes a bandwidth resource allocated by the 0LT to the CNU.
  • the media converter uses the 0LT to send CNU data messages to the OLT for its allocated bandwidth resources, instead of sending CNU data messages to the OLT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter.
  • the uplink data is sent under the transmission authorization, thereby avoiding the problem that the performance of the system is degraded due to deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
  • the embodiment provides a dynamic bandwidth allocation system, as shown in FIG. 18, including: the dynamic bandwidth allocation device 1 8 1 provided in FIG. 11 or FIG. 12 and the dynamic bandwidth provided in FIG. 13 or FIG. Assigned device 1 82.
  • the media converter receives the CNU data message sent by the CNU, the CNU data message includes a CNU transmission authorization request, and the CNU transmission authorization request is used to request the CNU bandwidth resource; and sends the transmission to the 0LT according to the transmission permission of the media converter.
  • CNU data message so 0LT
  • the CNU is allocated bandwidth resources according to the CNU's sending authorization request, and the media converter's sending authorization includes: 0LT allocates bandwidth resources for the media converter.
  • the media converter uses the 0LT to send CNU data messages to the OLT for its allocated bandwidth resources, instead of sending CNU data messages to the OLT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter.
  • the uplink data is sent under the transmission authorization, thereby avoiding the problem that the performance of the system is degraded due to deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
  • This embodiment provides another system for dynamic bandwidth allocation, as shown in FIG. 19, including: the media converter 1 9 1 provided in FIG. 15 or FIG. 16 and the 0LT 1 9 2 provided in FIG.
  • the media converter receives the CNU data message sent by the CNU, the CNU data message includes a CNU transmission authorization request, and the CNU transmission authorization request is used to request the CNU bandwidth resource; and sends the transmission to the 0LT according to the transmission permission of the media converter.
  • the CNU data message so that the 0LT allocates bandwidth resources to the CNU according to the CNU's sending authorization request, and the media converter's sending authorization includes: 0LT allocates bandwidth resources for the media converter.
  • the media converter uses the 0LT to send CNU data messages to the OLT for its allocated bandwidth resources, instead of sending CNU data messages to the OLT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter. Sending uplink data under the transmission authorization can avoid the problem that the system performance is degraded due to deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. .
  • the technical solution of the present invention may be in the form of a software product in essence or in part contributing to the prior art.
  • the computer software product is stored in a readable storage medium, such as a floppy disk, a hard disk or an optical disk of a computer, and includes a plurality of instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.)
  • a computer device which may be a personal computer, a server, a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present invention relates to the technical field of communications, and provides a dynamic bandwidth allocation method, device, and system, to solve a problem that due to the presence of unpredictable processing delay and transmission delay between a CNU and an MC, a GATE message corresponding to the CNU has deviation or jitter in an authorization window of a coaxial domain and an authorization window in an optical domain, and therefore system performance is reduced. Specific steps comprise: a media converter receiving a CNU data message sent by a CNU, wherein the CNU data message comprises a CNU sending authorization request, and the CNU sending authorization request is used for requesting a bandwidth resource of the CNU; and sending a CNU data message to an OLT according to sending authorization of the media converter, so that the OLT performs bandwidth resource allocation on the CNU according to the CNU sending authorization request, wherein the sending authorization of the media converter comprises: a bandwidth resource allocated by the OLT to the media converter. The present invention is applicable in dynamic bandwidth allocation.

Description

动态带宽分配的方法、 装置和系统 技术领域  Method, device and system for dynamic bandwidth allocation
本发明涉及通信技术领域, 尤其涉及动态带宽分配的方法、装置和系 统。  The present invention relates to the field of communications technologies, and in particular, to a method, apparatus, and system for dynamic bandwidth allocation.
背景技术 Background technique
在 EPOC ( Ethernet Passive Optical network Protocol Over Coax , 基于同轴电缆的无源以太网络) 系统中, OLT ( Optical Line Terminal, 光线路终端)对 CNU ( Coaxial Network Unit, 同轴网络单元) 进行管理, 0LT需要对 CNU进行调度即资源分配, 在进行资源分配后, 0LT与 CNU进 行数据传输。  In the EPOC (Ethernet Passive Optical Network Protocol Over Coax) system, the OLT (Optical Line Terminal) manages the CNU (Coaxial Network Unit), 0LT The CNU needs to be scheduled, that is, resource allocation. After resource allocation, 0LT and CNU perform data transmission.
0LT对 CNU进行调度的方法包括:  0LT methods for scheduling CNU include:
0LT在接收到 CNU发送的 REPORT消息后, 根据 REPORT消息对 CNU进 行资源分配并通过 GATE消息 (选通消息) 通知 CNU, 以便 CNU使用该分 配好的资源与 0LT进行数据传输。具体的, 0LT通过 MC( Media Converter, 媒介转换器)向 CNU发送 GATE消息, OLT也通过 MC接收 CNU发送的 REPORT 消息。 其中, REPORT消息是发送授权请求, GATE消息是发送授权。  After receiving the REPORT message sent by the CNU, the 0LT allocates resources to the CNU according to the REPORT message and notifies the CNU through the GATE message (gating message), so that the CNU uses the allocated resource to transmit data with the 0LT. Specifically, the 0LT sends a GATE message to the CNU through the MC (Media Converter), and the OLT also receives the REPORT message sent by the CNU through the MC. The REPORT message is a sending authorization request, and the GATE message is a sending authorization.
若 GATE消息是发送至 CNU的, 则 GATE消息中的 Grant (授权起始时 间、 授权时间长度即授权窗口 ) 会在 MC上行的光域中生效。 由于 CNU和 MC之间存在不可预知的处理时延和传输时延, 因此 CNU对应的 GATE消息 在同轴域的授权窗口与光域的授权窗口存在偏差或抖动,光域和同轴域的 两个时间域非常难同步,另外,同轴域和光域的线速率存在不确定的差异, 使得光域的线速率资源被浪费, 进而降低了系统的性能。 If the GATE message is sent to the CNU, the Grant (authorization start time, authorization time length, ie authorization window) in the GATE message will take effect in the optical domain of the MC uplink. Due to the unpredictable processing delay and transmission delay between the CNU and the MC, the GNU message corresponding to the CNU is deviated or jittered in the authorization window of the coaxial domain and the authorization window of the optical domain, and the optical domain and the coaxial domain are The two time domains are very difficult to synchronize. In addition, there is an indeterminate difference in the line rates of the coaxial domain and the optical domain, so that the line rate resources of the optical domain are wasted, thereby reducing the performance of the system.
发明内容 Summary of the invention
本发明的实施例提供一种动态带宽分配的方法、 装置和系统, 解决了 由于 CNU和 MC之间存在不可预知的处理时延和传输时延, 因此 CNU对应 的 GATE消息在同轴域的授权窗口与光域的授权窗口存在偏差或抖动, 降 低系统的性能的问题。  Embodiments of the present invention provide a method, an apparatus, and a system for dynamic bandwidth allocation, which solve the problem that the CNU corresponding GATE message is authorized in the coaxial domain due to unpredictable processing delay and transmission delay between the CNU and the MC. There is a deviation or jitter between the window and the authorization window of the optical domain, which reduces the performance of the system.
为达到上述目的, 本发明的实施例釆用如下技术方案:  In order to achieve the above object, embodiments of the present invention use the following technical solutions:
第一方面, 提供一种动态带宽分配的方法, 包括:  In a first aspect, a method for dynamic bandwidth allocation is provided, including:
媒介转换器接收 CNU发送的 CNU数据消息, 所述 CNU数据消息包括 CNU的发送授权请求, 所述 CNU的发送授权请求用于请求所述 CNU的带宽 资源;  The media converter receives the CNU data message sent by the CNU, where the CNU data message includes a CNU send authorization request, and the CNU send authorization request is used to request the bandwidth resource of the CNU;
根据所述媒介转换器的发送授权向 0LT发送所述 CNU数据消息,以便 所述 0LT根据所述 CNU的发送授权请求对所述 CNU进行带宽资源分配,所 述媒介转换器的发送授权包括:所述 0LT为所述媒介转换器分配的带宽资 源。  Sending, according to the sending authorization of the media converter, the CNU data message to the OLT, so that the OLT allocates a bandwidth resource to the CNU according to the sending authorization request of the CNU, where the sending authorization of the media converter includes: The bandwidth resource allocated by the OLT to the media converter.
在第一方面的第一种可能的实现方式中,在所述根据媒介转换器的发 送授权向 0LT发送所述 CNU数据消息之前, 所述方法还包括:  In a first possible implementation manner of the first aspect, before the sending the CNU data message to the OLT according to the sending authorization of the media converter, the method further includes:
判断所述 CNU数据消息的格式是否被允许在光域中进行传输; 若不被允许, 则对所述 CNU数据消息进行格式转换, 使得转换格式后 的 CNU数据消息能够被发送至 0LT。 结合第一方面或第一方面的第一种可能的实现方式,在第二种可能的 实现方式中,在所述根据媒介转换器的发送授权向 0LT发送所述 CNU数据 消息之前, 所述方法还包括: Determining whether the format of the CNU data message is allowed to be transmitted in the optical domain; if not allowed, performing format conversion on the CNU data message, so that the converted format CNU data message can be sent to the OLT. With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation, before the sending the CNU data message to the OLT according to the sending authorization of the media converter, the method Also includes:
向所述 0LT发送媒介转换器的发送授权请求,所述媒介转换器的发送 授权请求用于请求媒介转换器的带宽资源,以便所述 0LT根据所述媒介转 换器的发送授权请求为所述媒介转换器分配带宽资源。  Transmitting, to the OLT, a transmission authorization request of a media converter, the transmission authorization request of the media converter is used to request a bandwidth resource of the media converter, so that the OLT sends the authorization request according to the media converter as the medium The converter allocates bandwidth resources.
接收所述 0LT发送的媒介转换器的发送授权。  Receiving a transmission grant of the media converter sent by the 0LT.
结合第一方面或第一方面的第一种可能的实现方式或第二种可能的 实现方式, 在第三种可能的实现方式中, 在根据所述媒介转换器的发送授 权向 0LT发送所述 CNU数据消息之后, 所述方法还包括:  With reference to the first aspect or the first possible implementation or the second possible implementation of the first aspect, in a third possible implementation, the sending is performed to the OLT according to the sending authorization of the media converter After the CNU data message, the method further includes:
接收所述 0LT发送的 CNU的发送授权, 所述 CNU的发送授权包括: 所 述 0LT为 CNU分配的带宽资源。  Receiving a transmission grant of the CNU sent by the 0LT, where the sending authorization of the CNU includes: the bandwidth resource allocated by the 0LT to the CNU.
结合第一方面的第三种可能的实现方式, 在第四种可能的实现方式 中, 在所述接收所述 0LT发送的 CNU的发送授权之后, 所述方法还包括: 判断 CNU的发送授权的格式是否被允许在同轴域中进行传输; 若不被允许, 则对所述 CNU的发送授权进行格式转换, 使得转换格式 后的 CNU的发送授权能够被发送至所述 CNU ;  With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner, after the receiving the sending authorization of the CNU sent by the OLT, the method further includes: determining, by the CNU, the sending authorization Whether the format is allowed to be transmitted in the coaxial domain; if not allowed, the transmission authorization of the CNU is format converted, so that the transmission authorization of the converted format CNU can be sent to the CNU;
向所述 CNU发送所述转换格式后的 CNU的发送授权。  Sending a transmission authorization of the CNU after the conversion format to the CNU.
结合第一方面的第四种可能的实现方式, 在第五种可能的实现方式 中, 所述 CNU数据消息包括: 请求带宽资源的 CNU的逻辑链路标记 LL I D ; 所述媒介转换器的发送授权请求分别用于请求不同 LL I D 的带宽资 源; 或者, With reference to the fourth possible implementation manner of the foregoing aspect, in a fifth possible implementation manner, the CNU data message includes: a logical link label LL ID of a CNU requesting a bandwidth resource; Authorization requests are used to request bandwidth for different LL IDs Source; or,
所述媒介转换器的发送授权请求用于根据需求的总带宽资源请求带 宽资源, 所述总带宽资源包括: 所有 LL I D请求的带宽资源的总和、 以及 媒介转换器本身请求的带宽资源。  The mediator's transmit grant request is used to request a bandwidth resource according to the total bandwidth resource required, the total bandwidth resource including: a sum of all LL I D requested bandwidth resources, and a bandwidth resource requested by the media converter itself.
第二方面, 提供另一种动态带宽分配的方法, 包括:  In a second aspect, another method of dynamic bandwidth allocation is provided, including:
0LT接收媒介转换器发送的 CNU数据消息, 所述 CNU数据消息是所述 媒介转换器根据媒介转换器的发送授权向所述 0LT发送的,所述 CNU数据 消息包括: CNU发送授权请求, 所述 CNU发送授权请求用于请求 CNU的带 宽资源, 所述媒介转换器的发送授权包括: 所述 0LT为所述媒介转换器分 配的带宽资源;  The OLT receives a CNU data message sent by the media converter, and the CNU data message is sent by the media converter to the OLT according to a transmission authority of the media converter, where the CNU data message includes: a CNU sending an authorization request, The CNU sends an authorization request for requesting a bandwidth resource of the CNU, and the sending authorization of the media converter includes: the bandwidth resource allocated by the OLT to the media converter;
根据所述 CNU的发送授权请求为所述 CNU进行带宽资源分配; 向所述媒介转换器发送 CNU的发送授权,以便所述媒介转换器向所述 CNU发送所述 CNU的发送授权, 所述 CNU的发送授权包括所述 0LT为所述 CNU分配的带宽资源。  And performing bandwidth resource allocation for the CNU according to the sending authorization request of the CNU; sending a transmission authorization of the CNU to the media converter, so that the media converter sends a sending authorization of the CNU to the CNU, the CNU The transmission grant includes the bandwidth resource allocated by the OLT for the CNU.
在第二方面的第一种可能的实现方式中,在所述向所述媒介转换器发 送 CNU的发送授权之前, 所述方法还包括:  In a first possible implementation manner of the second aspect, before the sending the CNU transmission authorization to the media converter, the method further includes:
接收所述媒介转换器发送的媒介转换器的发送授权请求,所述媒介转 换器的发送授权请求用于请求媒介转换器的带宽资源;  Receiving, by the media converter, a transmission authorization request sent by the media converter, where the media converter sends an authorization request for requesting a bandwidth resource of the media converter;
根据所述媒介转换器的发送授权请求对所述媒介转换器进行带宽资 源分配;  And performing bandwidth resource allocation on the media converter according to a sending authorization request of the media converter;
向所述媒介转换器发送所述媒介转换器的发送授权。 结合第二方面或第二方面的第一种可能的实现方式,在第二种可能的 实现方式中, 所述 CNU数据消息还包括: 业务和管理数据, 且 CNU数据消 息可通过 LUD (還辑链路标识, Log i c l ink i dent i f i ca t ion ) 进行标识, 一个 CNU可分配至少一个 LL ID。 Transmitting authorization of the media converter is sent to the media converter. With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner, the CNU data message further includes: service and management data, and the CNU data message is available through the LUD (also The link identifier is identified by a CNU, and at least one LL ID can be assigned to a CNU.
结合第二方面的第二种可能的实现方式, 在第三种可能的实现方式 中, 所述 CNU数据消息包括: 请求带宽资源的 CNU的逻辑链路标记 LL ID; 所述根据所述媒介转换器的发送授权请求对所述媒介转换器进行带 宽资源分配包括:  With reference to the second possible implementation of the second aspect, in a third possible implementation, the CNU data message includes: a logical link label LL ID of a CNU requesting a bandwidth resource; The transmission authorization request of the device to allocate bandwidth resources to the media converter includes:
分别根据不同 LL ID需求的宽带资源请求带宽资源; 或者,  Request bandwidth resources according to broadband resources required by different LL IDs; or
根据需求的总带宽资源请求带宽资源, 所述总带宽资源包括: 所有 LL I D请求的带宽资源的总和、 以及媒介转换器本身请求的带宽资源。  The bandwidth resource is requested according to the required total bandwidth resource, where the total bandwidth resource includes: a sum of bandwidth resources requested by all LL I Ds, and a bandwidth resource requested by the media converter itself.
第三方面, 提供一种动态带宽分配的装置, 包括:  In a third aspect, an apparatus for dynamically bandwidth allocation is provided, including:
第一接收单元, 用于接收 CNU发送的 CNU数据消息, 所述 CNU数据消 息包括 CNU的发送授权请求, 所述 CNU的发送授权请求用于请求所述 CNU 的带宽资源;  a first receiving unit, configured to receive a CNU data message sent by the CNU, where the CNU data message includes a sending authorization request of the CNU, where the sending authorization request of the CNU is used to request a bandwidth resource of the CNU;
第一发送单元, 用于根据媒介转换器的发送授权向 0LT发送所述 CNU 数据消息,以便所述 0LT根据所述 CNU的发送授权请求对所述 CNU进行带 宽资源分配, 所述媒介转换器的发送授权包括: 所述 0LT为所述媒介转换 器分配的带宽资源。  a first sending unit, configured to send the CNU data message to the OLT according to the sending authorization of the media converter, so that the OLT allocates a bandwidth resource to the CNU according to the sending authorization request of the CNU, where the media converter Transmitting the authorization includes: the 0LT is a bandwidth resource allocated by the media converter.
第四方面, 提供另一种动态带宽分配的装置, 包括:  In a fourth aspect, an apparatus for providing another dynamic bandwidth allocation includes:
第一接收单元, 用于接收媒介转换器发送的 CNU数据消息, 所述 CNU 数据消息是所述媒介转换器根据媒介转换器的发送授权向所述 0LT 发送 的, 所述 CNU数据消息包括: CNU发送授权请求, 所述 CNU发送授权请求 用于请求 CNU 的带宽资源, 所述媒介转换器的发送授权包括: 所述 0LT 为所述媒介转换器分配的带宽资源; a first receiving unit, configured to receive a CNU data message sent by the media converter, where the CNU The data message is sent by the media converter to the OLT according to a transmission authority of the media converter, where the CNU data message includes: a CNU sending an authorization request, where the CNU sends an authorization request for requesting a bandwidth resource of the CNU, The sending authorization of the media converter includes: the bandwidth resource allocated by the 0LT to the media converter;
分配单元,用于根据所述 CNU的发送授权请求为所述 CNU进行带宽资 源分配;  An allocating unit, configured to perform bandwidth resource allocation for the CNU according to the sending authorization request of the CNU;
第一发送单元, 用于向所述媒介转换器发送 CNU的发送授权, 以便所 述媒介转换器向所述 CNU发送所述 CNU的发送授权,所述 CNU的发送授权 包括所述 0LT为所述 CNU分配的带宽资源。  a first sending unit, configured to send a sending authorization of the CNU to the media converter, so that the media converter sends a sending authorization of the CNU to the CNU, where the sending authorization of the CNU includes the Bandwidth resources allocated by the CNU.
第五方面, 提供一种媒介转换器, 包括:  In a fifth aspect, a media converter is provided, including:
接收器, 用于接收 CNU发送的 CNU数据消息, 所述 CNU数据消息包括 CNU的发送授权请求, 所述 CNU的发送授权请求用于请求所述 CNU的带宽 资源;  a receiver, configured to receive a CNU data message sent by the CNU, where the CNU data message includes a sending authorization request of the CNU, where the sending authorization request of the CNU is used to request a bandwidth resource of the CNU;
发送器, 用于根据所述媒介转换器的发送授权向 0LT 发送所述 CNU 数据消息,以便所述 0LT根据所述 CNU的发送授权请求对所述 CNU进行带 宽资源分配, 所述媒介转换器的发送授权包括: 所述 0LT为所述媒介转换 器分配的带宽资源。  a transmitter, configured to send the CNU data message to the OLT according to a sending authorization of the media converter, so that the OLT allocates a bandwidth resource to the CNU according to a sending authorization request of the CNU, where the media converter Transmitting the authorization includes: the 0LT is a bandwidth resource allocated by the media converter.
第六方面, 提供一种 0LT , 包括:  In a sixth aspect, an 0LT is provided, including:
接收器, 用于接收媒介转换器发送的 CNU数据消息, 所述 CNU数据消 息是所述媒介转换器根据媒介转换器的发送授权向所述 0LT发送的 ,所述 CNU数据消息包括: CNU发送授权请求, 所述 CNU发送授权请求用于请求 CNU的带宽资源, 所述媒介转换器的发送授权包括: 所述 0LT为所述媒介 转换器分配的带宽资源; a receiver, configured to receive a CNU data message sent by the media converter, where the CNU data message is sent by the media converter to the OLT according to a sending permission of the media converter, where the CNU data message includes: Request, the CNU sends an authorization request for the request The bandwidth resource of the CNU, the sending authorization of the media converter includes: the bandwidth resource allocated by the 0LT to the media converter;
处理器,用于根据所述 CNU的发送授权请求为所述 CNU进行带宽资源 分配;  a processor, configured to perform bandwidth resource allocation for the CNU according to the sending authorization request of the CNU;
发送器, 用于向所述媒介转换器发送 CNU的发送授权, 以便所述媒介 转换器向所述 CNU发送所述 CNU的发送授权,所述 CNU的发送授权包括所 述 0LT为所述 CNU分配的带宽资源。  a transmitter, configured to send a transmission authorization of the CNU to the media converter, so that the media converter sends a sending authorization of the CNU to the CNU, where the sending authorization of the CNU includes the 0LT being allocated to the CNU Bandwidth resources.
第七方面, 提供一种动态带宽分配的系统, 包括:  In a seventh aspect, a system for dynamic bandwidth allocation is provided, including:
第三方面和第四方面提供的动态带宽分配的装置。  The apparatus for dynamic bandwidth allocation provided by the third aspect and the fourth aspect.
第八方面, 提供一种动态带宽分配的系统, 包括:  In an eighth aspect, a system for dynamic bandwidth allocation is provided, including:
第五方面提供的媒介转换器和第六方面提供的 0LT。  The media converter provided by the fifth aspect and the 0LT provided by the sixth aspect.
本发明实施例提供的动态带宽分配的方法、 装置和系统, 釆用上述方 案后, 媒介转换器接收 CNU发送的 C丽数据消息, 所述 CNU数据消息包括 CNU的发送授权请求, 所述 CNU的发送授权请求用于请求所述 CNU的带宽 资源; 并根据所述媒介转换器的发送授权向 0LT发送所述 CNU数据消息, 所述 CNU数据消息包括发送授权请求;所述媒介转换器的发送授权请求用 于指示所述媒介转换器的请求带宽资源或待发送数据的緩存情况; 所述 0LT根据所述 CNU的发送授权请求对所述 CNU进行带宽资源分配, 所述媒 介转换器的发送授权包括: 所述 0LT为所述媒介转换器分配的带宽资源。 媒介转换器使用 0LT为其分配的带宽资源向 0LT发送 CNU数据消息,而不 是像现有技术中使用为 CNU分配的带宽资源向 0LT发送 CNU数据消息,这 样, 媒介转换器只在媒介转换器的发送授权下发送上行数据, 进而可以避 免由于同轴域的授权窗口与光域的授权窗口存在偏差或抖动而导致系统 性能下降的问题。 The method, device, and system for dynamic bandwidth allocation provided by the embodiments of the present invention, after using the foregoing solution, the media converter receives a C data message sent by the CNU, where the CNU data message includes a CNU sending authorization request, and the CNU Sending an authorization request for requesting a bandwidth resource of the CNU; and transmitting the CNU data message to the OLT according to a sending authorization of the media converter, where the CNU data message includes a sending authorization request; Requesting a buffering condition for requesting a bandwidth resource or a data to be sent by the media converter; the OLT allocates a bandwidth resource to the CNU according to a sending authorization request of the CNU, where the sending authorization of the media converter includes : The 0LT is a bandwidth resource allocated by the media converter. The media converter uses the 0LT to send a CNU data message to the OLT for its allocated bandwidth resource instead of sending a CNU data message to the OLT using the bandwidth resources allocated for the CNU in the prior art. In this way, the media converter only transmits the uplink data under the transmission authorization of the media converter, thereby avoiding the problem that the system performance is degraded due to the deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对 实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员 来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附 图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings to be used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图 1为一种 EP0N网络系统的结构示意图;  1 is a schematic structural diagram of an EP0N network system;
图 2为另一种 EPOC网络系统是结构示意图;  2 is a schematic structural diagram of another EPOC network system;
图 3为同轴域的带宽分配的结构示意图;  3 is a schematic structural diagram of bandwidth allocation in a coaxial domain;
图 4为 GATE消息的结构示意图;  Figure 4 is a schematic structural diagram of a GATE message;
图 5为 REPORT消息的结构示意图;  Figure 5 is a schematic structural diagram of a REPORT message;
图 6 为本实施例提供的一种以媒介转换器为执行主体的动态带宽分 配的方法流程图;  FIG. 6 is a flowchart of a method for dynamically bandwidth allocation by using a media converter as an execution body according to the embodiment;
图 7 为图 6所示的方法所应用的系统结构图;  Figure 7 is a system structure diagram applied to the method shown in Figure 6;
图 8 为本实施例提供的另一种以媒介转换器为执行主体的动态带宽 分配的方法流程图;  FIG. 8 is a flowchart of another method for dynamically bandwidth allocation by using a media converter as an execution body according to the embodiment; FIG.
图 9为本实施例提供的一种以 0LT为执行主体的动态带宽分配的方法 流程图; 图 10为本实施例提供的另一种以 0LT为执行主体的动态带宽分配的 方法流程图; FIG. 9 is a flowchart of a method for dynamically bandwidth allocation by using OLT as an execution subject according to an embodiment of the present invention; FIG. 10 is a flowchart of another method for dynamically bandwidth allocation by using OLT as an execution subject according to an embodiment of the present disclosure;
11为本实施例提供的一种动态带宽分配的装置结构示意图; 11 is a schematic structural diagram of a device for dynamic bandwidth allocation provided by this embodiment;
12为本实施例提供的另一种动态带宽分配的装置结构示意图;12 is a schematic structural diagram of another apparatus for dynamic bandwidth allocation provided by this embodiment;
13为本实施例提供的再一种动态带宽分配的装置结构示意图;13 is a schematic structural diagram of another apparatus for dynamic bandwidth allocation provided by the embodiment;
14为本实施例提供的再一种动态带宽分配的装置结构示意图;14 is a schematic structural diagram of another apparatus for dynamic bandwidth allocation provided by the embodiment;
15为本实施例提供的一种媒介转换器的结构示意图; 15 is a schematic structural diagram of a media converter provided by this embodiment;
16为本实施例提供的另一种媒介转换器的结构示意图;  16 is a schematic structural diagram of another media converter provided by this embodiment;
17为本实施例提供的一种 0LT的结构示意图;  17 is a schematic structural diagram of an 0LT provided by the embodiment;
18为本实施例提供的一种动态带宽分配的系统结构示意图; 18 is a schematic structural diagram of a system for dynamic bandwidth allocation provided by this embodiment;
19为本实施例提供的另一种动态带宽分配的系统结构示意图。 具体实施方式 19 is a schematic structural diagram of another system for dynamic bandwidth allocation provided by this embodiment. detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进 行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没 有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的 范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
为了可以更清新对以下实施例进行理解, 首先对 EPOC 网络系统结果 及工作原理进行简单介绍。  In order to understand the following embodiments in a clearer way, the EPOC network system results and working principle are briefly introduced.
如图 1 所示, 在 EP0N ( Ethernet Passive Optical network, 以太 网无源光网络) 网络系统中, OLT ( Optical Line Terminal, 光线路终端) 到 ONU ( Optical Network Unit, 光网络单元) 的传输方向为下行方向, 釆用 TDM ( Time-Division Multi lexing, 时分复用 ) 方式, 即下行数据 发送是连续的, 0LT连续的将信息广播发给每个 0NU, 每个 0NU选择属于 自己的数据接收。 As shown in Figure 1, in the Ethernet Passive Optical Network (EP0N) network system, OLT (Optical Line Terminal) The transmission direction to the ONU (Optical Network Unit) is the downlink direction. The time-division multiplexing (TDM) mode is adopted, that is, the downlink data transmission is continuous, and the 0LT continuously broadcasts the information to Each 0NU, each 0NU chooses its own data reception.
0NU到 0LT的传输为上行方向, 釆用 TDMA方式, 即上行数据发送是 突发的, 不同 0NU占用不同的上行时隙, 多个 0NU通过时分复用的方式共 享上行链路。 每个上行时隙间有避免冲突的保护时间间隔。  The transmission from 0NU to 0LT is in the uplink direction, and the TDMA mode is used. That is, the uplink data transmission is bursty. Different 0NUs occupy different uplink time slots, and multiple 0NUs share the uplink through time division multiplexing. There is a guard interval to avoid collisions between each upstream time slot.
为了保证上行数据不会发生冲突, 上行发送需要釆用测距技术,测量 0LT下行发送到上行接收的数据信号的环路时延, 并据此进行延迟补偿, 保证在每一个 0NU的上行信号在公用光纤汇合后, 插入指定的时隙, 彼此 间既不发生碰撞, 也不要间隙太大, 即使不同的 0NU发送的信号到达 0LT 的时间不同。  In order to ensure that the uplink data does not conflict, the uplink transmission needs to use the ranging technology to measure the loop delay of the 0LT downlink data signal sent to the uplink, and delay compensation according to this, to ensure that the uplink signal in each 0NU is After the common optical fibers are merged, the specified time slots are inserted, and no collision occurs with each other, and the gap is not too large, even if the time sent by different 0NUs reaches 0LT is different.
如图 2所示, 为 EPOC的系统结构示意图, 其中, MC可以但不限于用 于将从光域传输来的数据的格式转换成适合在同轴域中传输的格式,还可 以用于将从同轴域传输来的数据的格式转换成适合在光域中传输的格式。  As shown in FIG. 2, it is a system structure diagram of an EPOC, where the MC can be, but is not limited to, a format for converting data transmitted from an optical domain into a format suitable for transmission in a coaxial domain, and can also be used for The format of the data transmitted from the coaxial domain is converted into a format suitable for transmission in the optical domain.
在 0LT与 MC和 CNU进行数据传输前, 0LT首先需要为 MC和 CNU进行 带宽分配。  Before 0LT communicates with MC and CNU, 0LT first needs to allocate bandwidth for MC and CNU.
具体的, 0LT为 CNU进行带宽分配包括: CNU通过 MC向 0LT发送 REPORT 消息 (此时, MC 可以用于将同轴的数据请求消息的格式转换为适合在光 域中传输的格式 ), REPORT消息中包括 CNU要求请求的带宽资源或待发送 数据的緩存情况; 0LT根据接收到 REPORT消息为 CNU进行带宽分配, 并 通过 MC向 CNU发送包含有分配好的带宽资源的 GATE消息 (此时, MC可 以将 GATE消息的格式转换为适合在同轴域中传输的格式;); CNU根据接收 到 GATE消息在同轴域中向 MC发送相应数据, 再由 MC转发给 0LT, 所述 的相应数据包括 CNU的业务数据和 REPORT消息。后续步骤与之前的类似, 在此不再赘述。 Specifically, the 0LT performs bandwidth allocation for the CNU, including: The CNU sends a REPORT message to the OLT through the MC (in this case, the MC can be used to convert the format of the coaxial data request message into a format suitable for transmission in the optical domain), REPORT message Including the bandwidth resource of the CNU requesting or the buffering of the data to be sent; 0LT allocates bandwidth for the CNU according to the received REPORT message, and Sending a GATE message containing the allocated bandwidth resource to the CNU through the MC (in this case, the MC can convert the format of the GATE message into a format suitable for transmission in the coaxial domain;); the CNU receives the GATE message in the coaxial domain. The medium sends the corresponding data to the MC, and then the MC forwards the data to the OLT, where the corresponding data includes the service data of the CNU and the REPORT message. The subsequent steps are similar to the previous ones and will not be described here.
0LT为 MC进行带宽分西己包括: MC向 0LT发送 REPORT消息、, REPORT 消息中包括 MC请求的带宽资源或待发送数据的緩存情况; 0LT根据接收 到 REPORT消息为 MC进行带宽分配, 并向 MC发送包含有分配好的带宽资 源的 GATE消息, 其中, GATE消息还包括但不限于: MC向 0LT发送数据的 起始时间(即授权起始时间)、和允许发送数据的时间段等(即授权窗口 ); MC根据接收到 GATE消息在光域中向 0LT发送相应数据, 所述相应数据包 括来自 CNU的业务数据、 来自 CNU的 REPORT消息和 MC的 REPORT消息。 后续步骤与之前的类似, 在此不再赘述。  0LT for the MC to divide the bandwidth includes: The MC sends a REPORT message to the 0LT, and the REPORT message includes the bandwidth resource of the MC request or the buffering of the data to be sent; 0LT allocates the bandwidth for the MC according to the received REPORT message, and sends the bandwidth to the MC. Sending a GATE message containing the allocated bandwidth resource, where the GATE message further includes, but is not limited to, a start time (ie, an authorization start time) at which the MC sends data to the OLT, and a time period during which data is allowed to be transmitted (ie, authorization) The MC) sends corresponding data to the OLT in the optical domain according to the received GATE message, the corresponding data including service data from the CNU, a REPORT message from the CNU, and a REPORT message of the MC. The subsequent steps are similar to the previous ones and will not be described here.
值得说明的是,在同轴域,以 0FMDA( Orthogonal Frequency Division Multiple Address, 正交频分多址接入) 调制方式为例, 0LT需要对 CNU 进行基于时间和频率的二维带宽分配。 如图 3所示, N个符号和 M个频率 资源维度构造组成的时频块 (RB, Resource Block ) 为最小的调度资源, 为每个 CNU 的时频块分配的带宽资源可通过 MAP ( Media Access Plan ) 消息通知 CNU,即 MC将接收到的 GATE消息转换成 MAP消息后向 CNU发送。 换言之, MC可以是将包含基于时间的一维带宽资源的 GATE消息转换成包 含基于时间和频率的二维带宽资源的 MAP消息。 如图 4所示, 为以太网无源光网络的 GATE消息格式的示意图。 其中, Grant#n Length 可以表示被标 己 々 4受权长度 ( 受权窗口 ), Grant#n Start time可以表示 4受权起始时间, n=l, 2, 3, 4, 换言之, 0LT可以同 时为 MC或 CNU分配至少一个 4受权窗口。 It is worth noting that in the coaxial domain, the 0FMDA (Orthogonal Frequency Division Multiple Address) modulation scheme is used as an example. The 0LT needs to perform time and frequency based two-dimensional bandwidth allocation on the CNU. As shown in FIG. 3, a time-frequency block (RB, Resource Block) composed of N symbols and M frequency resource dimension structures is a minimum scheduling resource, and a bandwidth resource allocated for each CNU time-frequency block can pass MAP (Media). The Access Plan message informs the CNU that the MC converts the received GATE message into a MAP message and sends it to the CNU. In other words, the MC may be to convert a GATE message containing a time-based one-dimensional bandwidth resource into a MAP message containing a time and frequency based two-dimensional bandwidth resource. As shown in FIG. 4, it is a schematic diagram of a GATE message format of an Ethernet passive optical network. Among them, Grant#n Length can indicate the weighted length of the target 4 (authorized window), Grant#n Start time can represent 4 authorized start time, n=l, 2, 3, 4, in other words, 0LT can be MC at the same time. Or CNU allocates at least one 4 authorized window.
如图 5所示, 为 REPORT消息格式的示意图。 其中, Number of queue sets可以表示在 REPORT消息生成时刻緩存列队的数量, Queue#n Report 可以表示在 REPORT消息生成时刻緩存列队 n的长度, n=l, 2, 3, 4, 5, 6, 7。  As shown in Figure 5, it is a schematic diagram of the REPORT message format. The Number of queue sets may indicate the number of queued queues at the time of generating the REPORT message, and the Queue#n Report may indicate the length of the queued n at the time of generating the REPORT message, n=l, 2, 3, 4, 5, 6, 7 .
在现有的 EPOC系统中, 若 GATE消息直接发送至 CNU, 由于 CNU和 MC 之间存在不可预知的处理时延和传输时延, 因此 CNU对应的 GATE消息在 同轴域的授权窗口与光域的授权窗口存在偏差或抖动,光域和同轴域的两 个时间域非常难同步, 另外, 同轴域和光域的线速率存在不确定的差异, 使得光域的线速率资源被浪费, 进而降低了系统的性能。  In the existing EPOC system, if the GATE message is directly sent to the CNU, because of the unpredictable processing delay and transmission delay between the CNU and the MC, the GNU message corresponding to the CNU is in the authorization window and the optical domain of the coaxial domain. There are deviations or jitters in the authorization window. The two time domains of the optical domain and the coaxial domain are very difficult to synchronize. In addition, there are uncertain differences in the linear rate between the coaxial domain and the optical domain, so that the linear rate resources of the optical domain are wasted. Reduced system performance.
为了解决上述问题, 本实施例提供一种动态带宽分配的方法, 该方法 的执行主体可以为媒介转换器, 媒介转换器可以但不限于为: MC、 CLT ( Coaxial Line Terminal, 同轴线路终端) 等, 如图 6所示, 包括: In order to solve the above problem, the embodiment provides a method for dynamic bandwidth allocation. The execution body of the method may be a media converter. The media converter may be: but not limited to: MC, CLT (Coaxial Line Terminal, coaxial line terminal) Etc, as shown in Figure 6, includes:
601、 媒介转换器接收 CNU发送的 CNU数据请求消息。 601. The media converter receives the CNU data request message sent by the CNU.
CNU数据消息包括但不限于: CNU 的发送授权请求, CNU 的发送授权 请求可以但不限于用于请求 CNU的带宽资源,或者用于描述 CNU的待发送 数据的緩存情况。  The CNU data message includes but is not limited to: CNU's sending authorization request, and the CNU's sending authorization request may be, but not limited to, a bandwidth resource for requesting the CNU, or a cache condition for describing the CNU's data to be transmitted.
602、根据媒介转换器的发送授权向 0LT发送 CNU数据消息,以便 0LT 根据 CNU的发送授权请求对 CNU进行带宽资源分配。 602. Send a CNU data message to the 0LT according to the sending permission of the media converter, so that the 0LT The CNU is allocated bandwidth resources according to the CNU's sending authorization request.
媒介转换器的发送授权包括但不限于: 0LT为媒介转换器分配的带宽 资源。  The transmission authority of the media converter includes but is not limited to: 0LT allocates bandwidth resources for the media converter.
釆用上述方案后, 媒介转换器接收 CNU发送的 CNU数据消息, CNU数 据消息包括 CNU的发送授权请求, CNU的发送授权请求用于请求 CNU的带 宽资源; 根据媒介转换器的发送授权向 0LT发送 CNU数据消息, 以便 0LT 根据 CNU的发送授权请求对 CNU进行带宽资源分配,媒介转换器的发送授 权包括: 0LT为媒介转换器分配的带宽资源。 媒介转换器使用 0LT为其分 配的带宽资源向 0LT发送 CNU数据消息, 而不是像现有技术中使用为 CNU 分配的带宽资源向 0LT发送 CNU数据消息, 这样, 媒介转换器只在媒介转 换器的发送授权下发送上行数据,进而可以避免由于同轴域的授权窗口与 光域的授权窗口存在偏差或抖动而导致系统性能下降的问题。  After using the above solution, the media converter receives the CNU data message sent by the CNU, the CNU data message includes a CNU transmission authorization request, and the CNU transmission authorization request is used to request the CNU bandwidth resource; and sends the transmission to the 0LT according to the transmission permission of the media converter. The CNU data message, so that the 0LT allocates bandwidth resources to the CNU according to the CNU's sending authorization request, and the media converter's sending authorization includes: 0LT allocates bandwidth resources for the media converter. The media converter uses the 0LT to send CNU data messages to the OLT for its allocated bandwidth resources, instead of sending CNU data messages to the OLT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter. The uplink data is sent under the transmission authorization, thereby avoiding the problem that the performance of the system is degraded due to deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
为了使本领域技术人员能够更清楚地理解本发明实施例提供的技术 进行详细说明。  The techniques provided in the embodiments of the present invention will be more clearly understood by those skilled in the art.
本实施例提供另一种动态带宽分配的方法,该方法是对图 6所示的方 法的进一步扩展, 其中, 图 7为本实施例的系统结构图, 本方法可以大致 流程包括:  This embodiment provides another method for dynamic bandwidth allocation, which is a further extension of the method shown in FIG. 6. FIG. 7 is a system structure diagram of the embodiment. The method may include:
媒介转换器向 0LT 发送媒介转换器发送授权请求, 媒介转换器接收 0LT发送的媒介转换器的发送授权; 同时媒介转换器还可以接收 CNU发送 的 CNU发送授权请求;媒介转换器根据接收到的媒介转换器的发送授权中 的授权起始时间和授权窗口向 0LT发送 CNU的发送授权请求、 CNU的数据 以及媒介转换器的发送授权请求等(上述媒介转换器的发送授权请求可以 用于请求发送当前的各队列的带宽资源,当接收到与第一个媒介转换器的 发送授权请求对应的第一个媒介转换器的发送授权后,发送第一部分数据 和第二个媒介转换器的发送授权请求,当在接收到第二个媒介转换器的发 送授权后, 发送第二部分数据和下一个媒介转换器的发送授权请求, 之后 的步骤赘述); 若媒介转换器接收到 CNU的发送授权, 则可以将该进行格 式转换后的 CNU的发送授权发送至 CNU (或者还可以将 CNU的发送授权直 接发送至 CNU ) , CNU根据 CNU发送授权向媒介转换器发送业务和管理数 据以及下一个 CNU的发送授权请求。 The media converter sends an authorization request to the 0LT transmission media converter, and the media converter receives the transmission authorization of the media converter sent by the OLT; and the media converter can also receive the CNU transmission authorization request sent by the CNU; the media converter according to the received medium Transmitter authorization The authorization start time and the authorization window send the CNU transmission authorization request, the CNU data, and the media converter's transmission authorization request to the OLT (the above-mentioned media converter's transmission authorization request can be used to request to send the current bandwidth resources of each queue). After receiving the transmission authorization of the first media converter corresponding to the transmission authorization request of the first media converter, transmitting the first part of data and the second medium converter's transmission authorization request, when receiving the second After the media converter sends the authorization, the second part of the data and the next media converter's transmission authorization request are sent, and the subsequent steps are described.) If the media converter receives the CNU transmission authorization, the format conversion may be performed. The CNU's sending authorization is sent to the CNU (or the CNU's sending authorization can also be sent directly to the CNU). The CNU sends the service and management data to the media converter and the next CNU's sending authorization request according to the CNU sending authorization.
如图 8所示, 该方法具体包括:  As shown in FIG. 8, the method specifically includes:
801、 媒介转换器向 0LT发送媒介转换器的发送授权请求。  801. The media converter sends a transmission authorization request to the media converter to the 0LT.
进一步的, 媒介转换器的发送授权请求可以但不限于用于请求 CNU 的上行带宽资源, 媒介转换器的发送授权请求包括但不限于: 媒介转换器 请求的上行带宽资源。  Further, the transmission authorization request of the media converter may be, but is not limited to, an uplink bandwidth resource for requesting the CNU, and the transmission authorization request of the media converter includes but is not limited to: an uplink bandwidth resource requested by the media converter.
作为本实施例的一种实施方式,媒介转换器的发送授权请求还包括但 不限于: 各 LL ID ( Log i ca l L ink I dent i f i er , 逻辑链路标记) 上行的待 发送数据情况或带宽资源请求、或者媒介转换器上行的总待发送数据情况 或总带宽资源请求。  As an implementation manner of this embodiment, the sending authorization request of the media converter further includes: but is not limited to: each LL ID (Log ID), the uplink data to be sent or A bandwidth resource request, or a total pending data condition or a total bandwidth resource request for the media converter uplink.
媒介转换器请求的带宽资源可以但不限于用于媒介转换器向 0LT 发 送媒介转换器的总待发送数据, 总待发送数据包括但不限于: 媒介转换器 的发送授权请求、 媒介转换器的待发送数据、 CNU数据消息中至少一项。 作为本实施例的一种实施方式,媒介转换器的发送授权请求可以但不 限于为媒介转换器的 REPORT消息,该 REPORT消息用于指示媒介转换器请 求的数据带宽资源, REPORT 消息包括但不限于当前待发送的数据队列长 度或带宽资源请求等。 The bandwidth resource requested by the media converter may be, but is not limited to, total to-be-sent data for the media converter to send the media converter to the OLT, and the total data to be transmitted includes but is not limited to: a media converter At least one of sending an authorization request, a mediator's pending data, and a CNU data message. As an implementation manner of this embodiment, the transmission authorization request of the media converter may be, but is not limited to, a REPORT message of the media converter, where the REPORT message is used to indicate a data bandwidth resource requested by the media converter, and the REPORT message includes but is not limited to Data queue length or bandwidth resource request to be sent, etc.
进一步的, 发送授权可以是指上行的发送授权, 包括光域和同轴域的 上行。  Further, the sending authorization may refer to an uplink sending authorization, including an uplink of the optical domain and the coaxial domain.
8 02、 媒介转换器接收 CNU发送的 CNU数据消息。  8 02. The media converter receives the CNU data message sent by the CNU.
CNU数据消息包括但不限于: CNU 的发送授权请求, CNU 的发送授权 请求包括但不限于: CNU请求的带宽资源。  The CNU data message includes but is not limited to: CNU sends an authorization request, and the CNU sends an authorization request including but not limited to: bandwidth resources of the CNU request.
当 CNU存在需要向 0LT发送的业务和管理数据时, CNU向媒介转换器 发送 CNU的发送授权请求。  When the CNU has traffic and management data that needs to be sent to the 0LT, the CNU sends a CNU send authorization request to the media converter.
作为本实施例的一种实施方式, CNU 的发送授权请求可以为 CNU 的 REPORT消息, 该 CNU的 REPORT消息包括但不限于: CNU请求的带宽资源, 或者 CNU当前待发送的数据列队的长度等。  As an implementation of this embodiment, the CNU's sending authorization request may be a CNU REPORT message, and the CNU REPORT message includes, but is not limited to, a bandwidth resource of the CNU request, or a length of the data queue to be sent by the CNU.
进一步的, CNU数据消息还包括: 业务和管理数据。  Further, the CNU data message further includes: service and management data.
8 03、 判断 CNU数据消息的格式是否被允许在光域中进行传输。 若不 被允许, 则执行步骤 8 04 , 若被允许, 则执行步骤 8 05。  8 03. Determine whether the format of the CNU data message is allowed to be transmitted in the optical domain. If not allowed, go to step 8 04 and if it is allowed, go to step 8 05.
本实施例对判断 CNU 数据消息的格式是否被允许在光域中进行传输 的发不作限定, 为本领域技术人员熟知的技术, 且可以根据实际需要进行 设定, 在此不再赘述。 8 04、 对 CNU数据消息进行格式转换, 使得转换格式后的 CNU数据消 息能够被发送至 0LT。 In this embodiment, the determination of whether the format of the CNU data message is allowed to be transmitted in the optical domain is not limited, and is a technique well known to those skilled in the art, and may be set according to actual needs, and details are not described herein again. 8 04. Formatting the CNU data message so that the converted CNU data message can be sent to the 0LT.
CNU属于同轴域的设备, 而 0LT属于光域的设备, 若 CNU数据消息的 格式不被允许在光域中进行传输,则媒介转换器需要将接收到 CNU数据消 息的格式转换为适合在光域中传输的格式,以使得转换格式后的 CNU数据 消息能够被发送至 0LT。  The CNU belongs to the coaxial domain device, and the 0LT belongs to the optical domain device. If the format of the CNU data message is not allowed to be transmitted in the optical domain, the media converter needs to convert the format of receiving the CNU data message to be suitable for the light. The format transmitted in the domain is such that the converted CNU data message can be sent to the OLT.
8 05、 媒介转换器接收 0LT发送的发送授权。  8 05. The media converter receives the transmission authorization sent by the 0LT.
作为本实施例的一种实施方式,本步骤中媒介转换器接收到的发送授 权可以为媒介转换器的发送授权或 CNU的发送授权,  As an implementation manner of this embodiment, the sending authorization received by the media converter in this step may be a transmission authorization of the media converter or a transmission authorization of the CNU.
进一步的,本实施例中提供的媒介转换器的发送授权或 CNU的发送授 权分别可以为媒介转换器的 GATE消息或 CNU的 GATE消息。媒介转换器的 GATE消息包括 0LT根据媒介转换器的 REPORT消息为媒介转换器分配的带 宽资源, 即媒介转换器发送数据的授权起始时间和授权窗口; CNU的 GATE 消息包括 0LT根据 CNU的 REPORT消息为 CNU分配的带宽资源, 即 CNU发 送数据的授权起始时间和授权窗口 。  Further, the transmission authority of the media converter or the transmission authority of the CNU provided in this embodiment may be a GATE message of the media converter or a GATE message of the CNU, respectively. The GATE message of the media converter includes the bandwidth resource allocated by the 0LT to the media converter according to the REPORT message of the media converter, that is, the authorization start time and the authorization window of the media converter to send the data; the GNU message of the CNU includes the 0LT REPORT message according to the CNU. The bandwidth resource allocated for the CNU, that is, the authorization start time and authorization window for the CNU to send data.
8 06、 根据发送授权包含的标识确定该发送授权是媒介转换器的发送 授权还是 CNU的发送授权。若是媒介转换器的发送授权,则执行步骤 8 07 , 若是 CNU的发送授权, 则执行步骤 8 08。  8 06. Determine whether the sending authorization is a sending authorization of the media converter or a sending authorization of the CNU according to the identifier included in the sending authorization. If it is the transmission authority of the media converter, go to step 8 07. If the CNU sends the authorization, go to step 8 08.
媒介转换器的发送授权包括但不限于: 媒介转换器的标识, CNU的发 送授权包括: CNU的标识。  The transmission authority of the media converter includes but is not limited to: the identifier of the media converter, and the CNU's transmission authorization includes: CNU identification.
8 07、根据媒介转换器的发送授权向 0LT发送 CNU数据消息,以便 0LT 根据 CNU的发送授权请求对 CNU进行带宽资源分配。 8 07. Send a CNU data message to the 0LT according to the transmission authority of the media converter, so that 0LT The CNU is allocated bandwidth resources according to the CNU's sending authorization request.
媒介转换器的发送授权包括但不限于: 0LT为媒介转换器分配的带宽 资源。  The transmission authority of the media converter includes but is not limited to: 0LT allocates bandwidth resources for the media converter.
进一步的, 媒介转换器遵循 MC的调度原则发送与媒介转换器的发送 授权相对应的数据和媒介转换器数据的下一个媒介转换器授权请求等。  Further, the media converter follows the scheduling principle of the MC to transmit data corresponding to the transmission authority of the media converter and the next media converter authorization request of the media converter data.
本实施例对媒介转换器根据媒介转换器的发送授权向 0LT 发送的数 据不作限定, 为本领域技术人员熟知的技术, 且可以根据实际需要进行设 定, 在此不再赘述。  In this embodiment, the data sent by the media converter to the OLT according to the transmission authorization of the media converter is not limited, and is a technology well known to those skilled in the art, and may be set according to actual needs, and details are not described herein again.
进一步的, CNU数据消息可以包括: 请求带宽资源的 CNU的逻辑链路 标记 LL ID。 每个 CNU中可以包括至少一个 LL ID。  Further, the CNU data message may include: a CNU logical link tag LL ID requesting a bandwidth resource. At least one LL ID can be included in each CNU.
媒介转换器的发送授权请求分别用于请求不同 LL ID的带宽资源; 或 者,  The mediator's sending authorization request is used to request bandwidth resources of different LL IDs respectively; or
媒介转换器的发送授权请求用于根据需求的总带宽资源请求带宽资 源, 总带宽资源包括: 所有 LL ID请求的带宽资源的总和、 以及媒介转换 器本身请求的带宽资源。  The media converter's transmit grant request is used to request bandwidth resources according to the total bandwidth resource required. The total bandwidth resources include: the sum of the bandwidth resources requested by all LL IDs, and the bandwidth resources requested by the media converter itself.
其中, 没接转换器获取 CNU的 LL ID的方法可以包括: 从 CNU数据消 息中获取; 或者。  The method for obtaining the CNU LL ID without the converter may include: obtaining from a CNU data message; or.
媒介转换器存储有 LL ID与发送授权时间之间的对应关系, 当媒介转 换器接收到发送授权请求后,根据接收到发送授权请求查询到该时间接收 到的发送授权请求对应的 LL ID。  The media converter stores a correspondence between the LL ID and the transmission authorization time. After receiving the transmission authorization request, the media converter queries the LL ID corresponding to the transmission authorization request received at the time according to the received transmission authorization request.
本实施例对媒介转换器获取 LL ID的方法不作限定, 为本领域技术人 员熟知的技术, 且可以根据实际需要进行设定, 在此不作赘述。 执行步骤 8 01。 This embodiment does not limit the method for obtaining the LL ID by the media converter, and is a person skilled in the art. The technology is well known and can be set according to actual needs, and will not be described here. Go to step 8 01.
8 08、 判断 CNU的发送授权的格式是否被允许在同轴域中进行传输。 若不被允许, 则执行步骤 8 09 , 若被允许, 则执行步骤 8 1 0。  8 08. Determine whether the format of the CNU's transmission authorization is allowed to be transmitted in the coaxial domain. If not allowed, step 8 09 is performed, and if allowed, step 8 1 0 is performed.
本实施例对判断 CNU 的发送授权的格式是否被允许在同轴域中进行 传输的方法不作限定, 为本领域技术人员熟知的技术, 且可以根据实际需 要进行设定, 在此不再赘述。  The method for determining whether the format of the transmission authorization of the CNU is allowed to be transmitted in the coaxial domain is not limited, and is a technique well known to those skilled in the art, and may be set according to actual needs, and details are not described herein again.
8 09、 媒介转换器对 CNU的发送授权进行格式转换, 使得转换格式后 的 CNU的发送授权能够被发送至 CNU。  8 09. The media converter performs format conversion on the CNU transmission authorization, so that the CNU transmission authorization after the conversion format can be sent to the CNU.
CNU属于同轴域的设备, 而 0LT属于光域的设备, 媒介转换器需要将 接收到 CNU的发送授权的格式转换为适合在同轴域中传输的 MAP格式,以 使得转换格式后的 CNU的发送授权能够被发送至 CNU。  The CNU belongs to the coaxial domain device, and the 0LT belongs to the optical domain device. The media converter needs to convert the format of the transmission authorization received by the CNU into a MAP format suitable for transmission in the coaxial domain, so that the formatted CNU is converted. Sending authorizations can be sent to the CNU.
本实施例对转换 CNU的发送授权格式的方法不作限定,为本领域技术 人员熟知的技术, 且可以根据实际需要进行设定, 在此不再赘述。  The method for converting the transmission authorization format of the CNU is not limited, and is a technology that is well known to those skilled in the art, and can be set according to actual needs, and details are not described herein again.
进一步的, CNU的发送授权包括但不限于: 0LT根据转换格式后的 CNU 的授权请求为 CNU分配的带宽资源。  Further, the CNU transmission authorization includes but is not limited to: 0LT allocates bandwidth resources allocated to the CNU according to the CNU authorization request after the conversion format.
进一步的, 0LT为 CNU分配的带宽资源可以但不限于用于 CNU向媒介 转换器发送业务与管理数据以及 CNU的发送授权请求等。  Further, the bandwidth resource allocated by the 0LT to the CNU may be, but not limited to, used by the CNU to send service and management data to the media converter and the CNU's transmission authorization request.
8 1 0、 媒介转换器向 CNU发送 CNU的发送授权。  8 1 0. The media converter sends the CNU send authorization to the CNU.
值得说明的是,若步骤 8 05中媒介转换器接收 0LT发送的发送授权被 进行了格式转换, 则本步骤为媒介转换器向 CNU 发送转换格式后的 CNU 的发送授权。 It should be noted that, if the transmission authority of the media converter receiving the 0LT transmission is formatted in step 850, this step is a CNU after the media converter sends the converted format to the CNU. Send authorization.
8 1 1、 CNU根据接收到的 CNU的发送授权向媒介转换器发送 CNU数据 消息。  8 1 1. The CNU sends a CNU data message to the media converter according to the received CNU transmission authorization.
作为本实施例的一种实施方式, CNU的发送授权可以但不限于为 CNU 的 GATE消息, CNU的 GATE消息包括但不限于: CNU发送数据的授权起始 时间和授权窗口,或者格式转换后的 MAP消息等。  As an implementation manner of this embodiment, the sending authorization of the CNU may be, but not limited to, a GATE message of the CNU. The GNU message of the CNU includes but is not limited to: an authorization start time and an authorization window of the CNU sending data, or a format conversion. MAP message, etc.
CNU根据接收到的 GATE消息向媒介转换器发送 CNU数据消息, 所述 的 CNU数据消息包括: 当前待发送的业务与管理数据、 或当前待发送的数 据带宽请求等。  The CNU sends a CNU data message to the media converter according to the received GATE message, where the CNU data message includes: the current service and management data to be sent, or the data bandwidth request to be sent, and the like.
进一步的, CNU数据消息包括但不限于: CNU的业务和管理数据、 和 CNU发送授权请求。  Further, the CNU data message includes but is not limited to: CNU service and management data, and CNU sends an authorization request.
釆用上述方案后, 媒介转换器接收 CNU发送的 CNU数据消息, CNU数 据消息包括 CNU的发送授权请求, CNU的发送授权请求用于请求 CNU的带 宽资源; 并根据媒介转换器的发送授权向 0LT发送 CNU数据消息, 和发送 授权请求,媒介转换器的发送授权请求用于指示媒介转换器的带宽资源请 求或待发送数据的緩存情况; 0LT根据 CNU的发送授权请求对 CNU进行带 宽资源分配, 媒介转换器的发送授权包括: 0LT为媒介转换器分配的带宽 资源。媒介转换器使用 0LT为其分配的带宽资源向 0LT发送 CNU数据消息 , 而不是像现有技术中使用为 CNU分配的带宽资源向 0LT发送 CNU数据消 息, 这样, 媒介转换器只在媒介转换器的发送授权下发送数据, 进而可以 避免由于同轴域的授权窗口与光域的授权窗口存在偏差或抖动而导致系 统性能下降的问题。 After using the above solution, the media converter receives the CNU data message sent by the CNU, the CNU data message includes the CNU sending authorization request, the CNU sending authorization request is used to request the CNU bandwidth resource; and according to the media converter's sending authorization to the 0LT Sending a CNU data message, and sending an authorization request, the media converter's sending authorization request is used to indicate the media converter's bandwidth resource request or the buffering of the to-be-sent data; 0LT allocates bandwidth resources to the CNU according to the CNU's sending authorization request, the medium The transmit authorization of the converter includes: 0LT allocates bandwidth resources for the media converter. The media converter uses the 0LT to send CNU data messages to the OLT for its allocated bandwidth resources, instead of sending CNU data messages to the OLT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter. Sending data under the authorization of the transmission, which can avoid the deviation or jitter caused by the authorization window of the coaxial domain and the authorization window of the optical domain. The problem of degraded performance.
本实施例提供另一种动态带宽分配的方法,该方法的执行主体可以为 This embodiment provides another method for dynamic bandwidth allocation, and the execution body of the method may be
0LT , 如图 9所示, 包括: 0LT, as shown in Figure 9, includes:
9 01、 0LT接收媒介转换器发送的 C丽数据消息。  9 01, 0LT Receives the C data message sent by the media converter.
CNU数据消息可以是媒介转换器根据媒介转换器的发送授权向 0LT发 送的, CNU数据消息包括但不限于: CNU的发送授权请求, CNU的发送授 权请求用于请求 CNU的带宽资源, 媒介转换器的发送授权包括但不限于: 0LT为媒介转换器分配的带宽资源。  The CNU data message may be sent by the media converter to the OLT according to the transmission authority of the media converter. The CNU data message includes but is not limited to: a CNU sending authorization request, the CNU sending authorization request is used to request the CNU bandwidth resource, and the media converter The transmission authorization includes but is not limited to: 0LT allocates bandwidth resources for the media converter.
9 02、 根据 CNU的发送授权请求为 C丽进行带宽资源分配。  9 02. Bandwidth resource allocation is performed for C Li according to the CNU's sending authorization request.
9 03、 向媒介转换器发送 CNU的发送授权, 以便媒介转换器向 CNU发 送 CNU的发送授权。  9 03. Send the CNU send authorization to the media converter, so that the media converter sends the CNU send authorization to the CNU.
CNU的发送授权包括但不限于: 0LT为 CNU分配的带宽资源。  The CNU's sending authorization includes but is not limited to: 0LT allocates bandwidth resources for the CNU.
釆用上述方案后, 0LT接收媒介转换器发送的 CNU数据消息, CNU数 据消息是媒介转换器根据媒介转换器的发送授权向 0LT发送的, CNU数据 消息包括: CNU的发送授权请求, CNU的发送授权请求用于请求 CNU的带 宽资源,媒介转换器的发送授权包括: 0LT为媒介转换器分配的带宽资源; 根据 CNU 的发送授权请求为 CNU进行带宽资源分配; 向媒介转换器发送 CNU的发送授权, 以便媒介转换器向 CNU发送 CNU的发送授权, CNU的发 送授权包括 0LT为 CNU分配的带宽资源。媒介转换器使用 0LT为其分配的 带宽资源向 0LT发送 CNU数据消息,而不是像现有技术中使用为 CNU分配 的带宽资源向 0LT发送 CNU数据消息, 这样, 媒介转换器只在媒介转换器 的发送授权下发送数据,进而可以避免由于同轴域的授权窗口与光域的授 权窗口存在偏差或抖动而导致系统性能下降的问题。 After using the above scheme, the 0LT receives the CNU data message sent by the media converter, and the CNU data message is sent by the media converter to the OLT according to the transmission permission of the media converter. The CNU data message includes: CNU sending authorization request, CNU sending The authorization request is used to request the bandwidth resource of the CNU. The transmission authority of the media converter includes: 0LT allocates bandwidth resources for the media converter; allocates bandwidth resources for the CNU according to the CNU's sending authorization request; sends the CNU transmission authorization to the media converter. , so that the media converter sends a CNU transmission authorization to the CNU, and the CNU transmission authorization includes the bandwidth resource allocated by the 0LT for the CNU. The media converter uses the 0LT to send CNU data messages to the OLT for its allocated bandwidth resources, instead of sending CNU data messages to the OLT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter. The data is transmitted under the authorization of the transmission, thereby avoiding the problem that the performance of the system is degraded due to deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
本实施例提供另一种动态带宽分配的方法,该方法是对图 9所示的方 法的进一步扩展, 如图 1 0所示, 包括:  This embodiment provides another method for dynamic bandwidth allocation, which is a further extension of the method shown in FIG. 9, as shown in FIG. 10, including:
1 001、 0LT接收媒介转换器发送的 CNU数据消息。  1 001, 0LT Receive CNU data messages sent by the media converter.
CNU数据消息可以是媒介转换器根据媒介转换器的发送授权向 0LT发 送的, CNU数据消息包括但不限于: CNU的发送授权请求, CNU的发送授 权请求用于请求 CNU的带宽资源, 媒介转换器的发送授权包括但不限于: 0LT为媒介转换器分配的带宽资源。  The CNU data message may be sent by the media converter to the OLT according to the transmission authority of the media converter. The CNU data message includes but is not limited to: a CNU sending authorization request, the CNU sending authorization request is used to request the CNU bandwidth resource, and the media converter The transmission authorization includes but is not limited to: 0LT allocates bandwidth resources for the media converter.
进一步的, CNU数据消息还包括: 业务和管理数据。  Further, the CNU data message further includes: service and management data.
1 002、 根据 CNU的发送授权请求为 CNU进行带宽资源分配。  1 002. Allocate bandwidth resources for the CNU according to the CNU's sending authorization request.
进一步的, 0LT根据 CNU授权请求为 CNU分配的带宽资源可以用于 CNU 向媒介转换器发送业务和管理数据和 CNU授权请求。  Further, the bandwidth resource allocated by the 0LT to the CNU according to the CNU authorization request can be used by the CNU to send service and management data and CNU authorization requests to the media converter.
1 00 3、 向媒介转换器发送 CNU 的发送授权, 以便媒介转换器向 CNU 发 CNU的发送授权。  1 00 3. Send the CNU's send authorization to the media converter, so that the media converter sends a CNU send authorization to the CNU.
CNU的发送授权包括但不限于: 0LT为 CNU分配的带宽资源。  The CNU's sending authorization includes but is not limited to: 0LT allocates bandwidth resources for the CNU.
1 004、 接收媒介转换器发送的媒介转换器的发送授权请求。  1 004. Receive a transmission authorization request of a media converter sent by the media converter.
进一步的,媒介转换器的发送授权请求可以但不限于用于请求媒介转 换器的带宽资源, 媒介转换器的发送授权请求包括但不限于: 媒介转换器 请求的带宽资源。  Further, the transmission authorization request of the media converter may be, but is not limited to, a bandwidth resource for requesting the media converter, and the transmission authorization request of the media converter includes but is not limited to: a bandwidth resource requested by the media converter.
1 005、根据媒介转换器的发送授权请求对媒介转换器进行带宽资源分 配。 1 005. Perform bandwidth resource division on the media converter according to the transmission authorization request of the media converter. Match.
进一步的, CNU数据消息包括: 请求带宽资源的 CNU的逻辑链路标记 LLID。  Further, the CNU data message includes: a CNU logical link tag LLID requesting a bandwidth resource.
根据媒介转换器的发送授权请求对媒介转换器进行带宽资源分配包 括但不限于: 分别根据不同 LLID需求的宽带资源请求带宽资源。  The bandwidth resource allocation to the media converter according to the transmission authority request of the media converter includes, but is not limited to: requesting bandwidth resources according to the broadband resources required by different LLIDs, respectively.
作为本实施例的一种实施方式, 媒介转换器分别根据不同 LLID需求 的宽带资源请求带宽资源, 使得 0LT根据不同 LLID请求带宽资源对 CNU 进行带宽资源分配。  As an implementation manner of this embodiment, the media converter requests bandwidth resources according to the broadband resources required by different LLIDs, so that the 0LT requests bandwidth resources to allocate bandwidth resources to the CNU according to different LLIDs.
具体的,媒介转换器接收并向 0LT发送分别用 LLID1和 LLID2进行标 识的 CNU数据消息, 0LT可以通过 LLID识别不同 CNU的业务和管理数据; 然后, 0LT分别为 LLID1和 LLID2标识的业务和管理数据进行资源分配, 得到 LLID1 和 LLID2 对应的发送授权, 并可以分别向媒介转换器发送 LLID1和 LLID2对应的发送 4受权。  Specifically, the media converter receives and sends a CNU data message respectively identified by LLID1 and LLID2 to the OLT, and the 0LT can identify the service and management data of different CNUs by using the LLID; then, 0LT is the service and management data identified by LLID1 and LLID2, respectively. The resource allocation is performed, and the transmission authorization corresponding to LLID1 and LLID2 is obtained, and the transmission 4 authorization corresponding to LLID1 and LLID2 can be respectively sent to the media converter.
或者,根据媒介转换器的发送授权请求对媒介转换器进行带宽资源分 配还包括: 根据需求的总带宽资源请求带宽资源, 总带宽资源包括: 所有 LL I D请求的带宽资源的总和、 以及媒介转换器本身请求的带宽资源。  Alternatively, performing bandwidth resource allocation on the media converter according to the sending authorization request of the media converter further includes: requesting the bandwidth resource according to the required total bandwidth resource, where the total bandwidth resource includes: a sum of bandwidth resources requested by all LL IDs, and a media converter The bandwidth resource requested by itself.
具体的,媒介转换器接收并向 0LT发送分别用 LLID1和 LLID2进行标 识的 CNU数据消息, 0LT可以通过 LLID识别出不同 CNU的业务和管理数 据, 并可以获取 LLID1和 LLID2标识的 CNU的业务和管理数据以及媒介 转换器本地请求的带宽资源的总和;向 0LT发送包含有该带宽资源的总和 的发送授权请求, 0LT根据带宽资源的总和为其进行带宽资源分配, 并向 媒介转换器发送一个发送授权。 Specifically, the media converter receives and sends a CNU data message respectively identified by LLID1 and LLID2 to the OLT, and the 0LT can identify the service and management data of different CNUs by using the LLID, and can obtain the service and management of the CNU identified by the LLID1 and the LLID2. The sum of the data and the bandwidth resource locally requested by the media converter; sending a transmission authorization request including the sum of the bandwidth resources to the OLT, and the 0LT allocates the bandwidth resource according to the sum of the bandwidth resources, and The media converter sends a send authorization.
本实施例对媒介转换器进行带宽资源分配的方法不作限定,并不限于 上述列举的方法, 可以根据实际需要进行设定, 在此不再赘述。  The method for the bandwidth allocation of the media converter in this embodiment is not limited, and is not limited to the above-mentioned methods, and may be set according to actual needs, and details are not described herein again.
1 006、 向媒介转换器发送媒介转换器的发送授权。  1 006. Send a transmission authorization of the media converter to the media converter.
值得说明的是, 本实施例中步骤 1 001 至步骤 1 00 3用于描述 0LT为 CNU进行带宽资源分配, 步骤 1 004至步骤 1 006用于描述 0LT为媒介转换 器进行带宽资源分配, 0LT可以同时为 CNU与媒介转换器进行带宽资源分 配, 也可以单独为 CNU与媒介转换器进行带宽资源分配, 但进行资源分配 的顺序不作限定。  It should be noted that, in this embodiment, steps 1 001 to 00 3 are used to describe that the OLT allocates bandwidth resources for the CNU, and steps 1 004 to 006 are used to describe the OLT to allocate bandwidth resources to the media converter. At the same time, the bandwidth resource allocation is performed for the CNU and the media converter, and the bandwidth resource allocation can be separately performed for the CNU and the media converter, but the order of resource allocation is not limited.
釆用上述方案后, 0LT接收媒介转换器发送的 CNU数据消息, CNU数 据消息是媒介转换器根据媒介转换器的发送授权向 0LT发送的, CNU数据 消息包括: CNU的发送授权请求, CNU的发送授权请求用于请求 CNU的带 宽资源,媒介转换器的发送授权包括: 0LT为媒介转换器分配的带宽资源; 根据 CNU 的发送授权请求为 CNU进行带宽资源分配; 向媒介转换器发送 CNU的发送授权, 以便媒介转换器向 CNU发送 CNU的发送授权, CNU的发 送授权包括 0LT为 CNU分配的带宽资源。媒介转换器使用 0LT为其分配的 带宽资源向 0LT发送 CNU数据消息,而不是像现有技术中使用为 CNU分配 的带宽资源向 0LT发送 CNU数据消息, 这样, 媒介转换器只在媒介转换器 的发送授权下发送上行数据,进而可以避免由于同轴域的授权窗口与光域 的授权窗口存在偏差或抖动而导致系统性能下降的问题。  After using the above scheme, the 0LT receives the CNU data message sent by the media converter, and the CNU data message is sent by the media converter to the OLT according to the transmission permission of the media converter. The CNU data message includes: CNU sending authorization request, CNU sending The authorization request is used to request the bandwidth resource of the CNU. The transmission authority of the media converter includes: 0LT allocates bandwidth resources for the media converter; allocates bandwidth resources for the CNU according to the CNU's sending authorization request; sends the CNU transmission authorization to the media converter. , so that the media converter sends a CNU transmission authorization to the CNU, and the CNU transmission authorization includes the bandwidth resource allocated by the 0LT for the CNU. The media converter uses the 0LT to send CNU data messages to the OLT for its allocated bandwidth resources, instead of sending CNU data messages to the OLT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter. The uplink data is sent under the transmission authorization, thereby avoiding the problem that the performance of the system is degraded due to deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
下面提供一些虚拟装置实施例, 该虚拟装置实施例分别与上述图 6 至图 1 0提供的实施例相对应。 Some virtual device embodiments are provided below, and the virtual device embodiments are respectively shown in FIG. 6 above. The embodiment provided in Fig. 10 corresponds.
本实施例提供一种动态带宽分配的装置, 如图 1 1所示, 包括: 第一接收单元 1 1 1 , 用于接收 CNU发送的 CNU数据消息, CNU数据消 息包括 CNU的发送授权请求, CNU的发送授权请求用于请求 CNU的带宽资 源;  The embodiment provides a device for dynamic bandwidth allocation. As shown in FIG. 11, the first receiving unit 1 1 1 is configured to receive a CNU data message sent by the CNU, where the CNU data message includes a CNU sending authorization request, CNU. The sending authorization request is used to request the bandwidth resource of the CNU;
第一发送单元 1 1 2 , 用于根据媒介转换器的发送授权向 0LT发送 CNU 数据消息, 以便 0LT根据 CNU的发送授权请求对 CNU进行带宽资源分配, 媒介转换器的发送授权包括: 0LT为媒介转换器分配的带宽资源。  The first sending unit 1 1 2 is configured to send a CNU data message to the OLT according to the sending authorization of the media converter, so that the OLT allocates bandwidth resources to the CNU according to the CNU sending authorization request, where the media converter sends the authorization: 0LT is the medium The bandwidth resource allocated by the converter.
釆用上述方案后 ,第一接收单元,用于接收 CNU发送的 CNU数据消息 , CNU数据消息包括 CNU的发送授权请求, CNU的发送授权请求用于请求 CNU 的带宽资源; 第一发送单元, 用于根据媒介转换器的发送授权向 0LT发送 CNU数据消息, 以便 0LT根据 CNU的发送授权请求对 CNU进行带宽资源分 配, 媒介转换器的发送授权包括: 0LT为媒介转换器分配的带宽资源。 媒 介转换器使用 0LT为其分配的带宽资源向 0LT发送 CNU数据消息,而不是 像现有技术中使用为 CNU分配的带宽资源向 0LT发送 CNU数据消息 ,这样 , 媒介转换器只在媒介转换器的发送授权下发送数据,进而可以避免由于同 轴域的授权窗口与光域的授权窗口存在偏差或抖动而导致系统性能下降 的问题。  After the foregoing solution, the first receiving unit is configured to receive a CNU data message sent by the CNU, where the CNU data message includes a CNU sending authorization request, and the CNU sending authorization request is used to request a bandwidth resource of the CNU; The CNU data message is sent to the OLT according to the sending authorization of the media converter, so that the OLT allocates the bandwidth resource to the CNU according to the CNU's sending authorization request, and the media converter's sending authorization includes: 0LT allocates the bandwidth resource for the media converter. The media converter uses the 0LT to send CNU data messages to the OLT for its allocated bandwidth resources, instead of sending CNU data messages to the OLT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter. Sending data under the authorization of the transmission can avoid the problem that the system performance is degraded due to the deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
本实施例提供一种动态带宽分配的装置, 该装置是对图 1 1所示的装 置的进一步扩展, 如图 1 2所示, 包括:  This embodiment provides a device for dynamic bandwidth allocation. The device is a further extension of the device shown in FIG. 11. As shown in FIG. 12, the method includes:
第一接收单元 1 2 1 , 用于接收 CNU发送的 CNU数据消息, CNU数据消 息包括 CNU的发送授权请求, CNU的发送授权请求用于请求 CNU的带宽资 源; The first receiving unit 1 2 1 is configured to receive a CNU data message sent by the CNU, and the CNU data is cancelled. The information includes the CNU sending authorization request, and the CNU sending authorization request is used to request the bandwidth resource of the CNU;
第一发送单元 122, 用于根据媒介转换器的发送授权向 0LT发送 CNU 数据消息, 以便 0LT根据 CNU的发送授权请求对 CNU进行带宽资源分配, 媒介转换器的发送授权包括: 0LT为媒介转换器分配的带宽资源。  The first sending unit 122 is configured to send a CNU data message to the OLT according to the sending authorization of the media converter, so that the OLT allocates bandwidth resources to the CNU according to the CNU sending authorization request, where the media converter sends the authorization: 0LT is the media converter. The allocated bandwidth resource.
进一步的, 本实施例提供的动态带宽分配的装置还包括:  Further, the apparatus for dynamic bandwidth allocation provided by this embodiment further includes:
第一判断单元 123,用于在根据媒介转换器的发送授权向 0LT发送 CNU 数据消息之前, 判断 CNU数据消息的格式是否被允许在光域中进行传输; 第一转换单元 124, 用于若不被允许, 则对 CNU数据消息进行格式转 换, 使得转换格式后的 CNU数据消息能够被发送至 0LT。  The first determining unit 123 is configured to determine whether the format of the CNU data message is allowed to be transmitted in the optical domain before sending the CNU data message to the OLT according to the sending authorization of the media converter; the first converting unit 124, if When allowed, the CNU data message is format converted so that the converted format CNU data message can be sent to the OLT.
进一步的, 本实施例提供的动态带宽分配的装置还包括:  Further, the apparatus for dynamic bandwidth allocation provided by this embodiment further includes:
第二接收单元 125,用于在根据媒介转换器的发送授权向 0LT发送 CNU 数据消息之前, 接收 0LT发送的发送授权;  The second receiving unit 125 is configured to receive the sending authorization sent by the 0LT before sending the CNU data message to the 0LT according to the sending authorization of the media converter;
确定单元 126, 用于根据该发送授权包含的标识确定该发送授权是媒 介转换器的发送授权还是 CNU的发送授权, CNU的发送授权包括 0LT为 CNU 分配的带宽资源。  The determining unit 126 is configured to determine, according to the identifier included in the sending authorization, whether the sending authorization is a sending authorization of the media converter or a sending authorization of the CNU, and the sending authorization of the CNU includes a bandwidth resource allocated by the 0LT to the CNU.
进一步的, 本实施例提供的动态带宽分配的装置还包括:  Further, the apparatus for dynamic bandwidth allocation provided by this embodiment further includes:
第二判断单元 127, 用于在根据该发送授权包含的标识确定该发送授 权是媒介转换器的发送授权还是 CNU 的发送授权之后, 若该发送授权为 The second determining unit 127 is configured to, after determining, according to the identifier included in the sending authorization, whether the sending authorization is a sending authorization of the media converter or a sending authorization of the CNU, if the sending authorization is
CNU的发送授权, 则判断 CNU的发送授权的格式是否被允许在同轴域中进 行传输; 第二转换单元 128, 用于若不被允许, 则对 CNU的发送授权进行格式 转换, 使得转换格式后的 CNU的发送授权能够被发送至 CNU; The CNU sends an authorization to determine whether the format of the CNU's transmission authorization is allowed to be transmitted in the coaxial domain; The second converting unit 128 is configured to: if not allowed, perform format conversion on the CNU transmission authorization, so that the CNU transmission authorization of the converted format can be sent to the CNU;
第二发送单元 129, 用于向 CNU发送转换格式后的 CNU的发送授权。 进一步的, 本实施例提供的动态带宽分配的装置还包括:  The second sending unit 129 is configured to send, to the CNU, a transmission authorization of the CNU after the conversion format. Further, the apparatus for dynamic bandwidth allocation provided by this embodiment further includes:
第三发送单元 1210, 用于在根据媒介转换器的发送授权向 0LT发送 CNU数据消息之前, 向 0LT发送媒介转换器的发送授权请求, 媒介转换器 的发送授权请求用于请求媒介转换器的带宽资源,以便 0LT根据媒介转换 器的发送授权请求为媒介转换器分配带宽资源;  The third sending unit 1210 is configured to send a sending authorization request of the media converter to the OLT before sending the CNU data message to the OLT according to the sending permission of the media converter, where the mediator's sending authorization request is used to request the bandwidth of the media converter Resources, so that the OLT allocates bandwidth resources to the media converter according to the transmission authorization request of the media converter;
第三接收单元 1211, 用于接收媒介转换器的发送授权。  The third receiving unit 1211 is configured to receive a transmission authorization of the media converter.
进一步的, 第一接收单元 121接收的 CNU数据消息还包括: 业务和管 理数据。  Further, the CNU data message received by the first receiving unit 121 further includes: service and management data.
进一步的, CNU数据消息包括: 请求带宽资源的 CNU的逻辑链路标记 LLID;  Further, the CNU data message includes: a CNU logical link tag LLID requesting a bandwidth resource;
媒介转换器的发送授权请求分别用于请求不同 LLID的带宽资源; 或 者,  The mediator's sending authorization request is used to request bandwidth resources of different LLIDs respectively; or
媒介转换器的发送授权请求用于根据需求的总带宽资源请求带宽资 源, 总带宽资源包括: 所有 LLID请求的带宽资源的总和、 以及媒介转换 器本身请求的带宽资源。  The mediator's transmit grant request is used to request bandwidth resources according to the total bandwidth resource required. The total bandwidth resources include: the sum of all the bandwidth resources requested by the LLID, and the bandwidth resources requested by the media converter itself.
釆用上述方案后 ,第一接收单元,用于接收 CNU发送的 CNU数据消息 , CNU数据消息包括 CNU的发送授权请求, CNU的发送授权请求用于请求 CNU 的带宽资源; 第一发送单元, 用于根据媒介转换器的发送授权向 0LT发送 CNU数据消息, 以便 OLT根据 CNU的发送授权请求对 CNU进行带宽资源分 配, 媒介转换器的发送授权包括: 0LT为媒介转换器分配的带宽资源。 媒 介转换器使用 0LT为其分配的带宽资源向 0LT发送 CNU数据消息,而不是 像现有技术中使用为 CNU分配的带宽资源向 0LT发送 CNU数据消息 ,这样 , 媒介转换器只在媒介转换器的发送授权下发送上行数据,进而可以避免由 于同轴域的授权窗口与光域的授权窗口存在偏差或抖动而导致系统性能 下降的问题。 After the foregoing solution, the first receiving unit is configured to receive a CNU data message sent by the CNU, where the CNU data message includes a CNU sending authorization request, and the CNU sending authorization request is used to request a bandwidth resource of the CNU; Send to 0LT according to the transmission authorization of the media converter CNU data message, so that the OLT performs bandwidth resource allocation to the CNU according to the CNU's sending authorization request, and the media converter's sending authorization includes: 0LT allocates bandwidth resources for the media converter. The media converter uses the 0LT to send CNU data messages to the OLT for its allocated bandwidth resources, instead of sending CNU data messages to the OLT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter. The uplink data is sent under the transmission authorization, thereby avoiding the problem that the performance of the system is degraded due to deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
本实施例提供另一种动态带宽分配的装置, 如图 1 3所示, 包括: 第一接收单元 1 3 1 , 用于接收媒介转换器发送的 CNU数据消息, CNU 数据消息是媒介转换器根据媒介转换器的发送授权向 0LT发送的, CNU数 据消息包括: CNU发送授权请求, CNU发送授权请求用于请求 CNU的带宽 资源, 媒介转换器的发送授权包括: 0LT为媒介转换器分配的带宽资源; 第一分配单元 1 32 , 用于根据 CNU的发送授权请求为 CNU进行带宽资 源分配;  The embodiment provides another device for dynamic bandwidth allocation, as shown in FIG. 13 , comprising: a first receiving unit 1 3 1 for receiving a CNU data message sent by a media converter, where the CNU data message is a media converter according to The transmission authority of the media converter is sent to the OLT. The CNU data message includes: the CNU sends an authorization request, the CNU sends an authorization request for requesting the bandwidth resource of the CNU, and the transmission authority of the media converter includes: 0LT allocates a bandwidth resource for the media converter. a first allocating unit 1 32, configured to perform bandwidth resource allocation for the CNU according to the CNU sending authorization request;
第一发送单元 1 3 3 , 用于向媒介转换器发送 CNU的发送授权, 以便媒 介转换器向 CNU发送 CNU的发送授权, CNU的发送授权包括 0LT为 CNU分 配的带宽资源。  The first sending unit 1 3 3 is configured to send a CNU transmission authorization to the media converter, so that the media converter sends a CNU transmission authorization to the CNU, and the CNU transmission authorization includes a bandwidth resource allocated by the CLT to the CNU.
釆用上述方案后, 第一接收单元, 用于接收媒介转换器发送的 CNU 数据消息, CNU数据消息是媒介转换器根据媒介转换器的发送授权向 0LT 发送的, CNU数据消息包括: CNU发送授权请求, CNU发送授权请求用于 请求 CNU的带宽资源, 媒介转换器的发送授权包括: 0LT为媒介转换器分 配的带宽资源; 第一分配单元, 用于根据 CNU的发送授权请求为 CNU进行 带宽资源分配; 第一发送单元, 用于向媒介转换器发送 CNU的发送授权, 以便媒介转换器向 CNU发送 CNU的发送授权, CNU的发送授权包括 0LT为 CNU分配的带宽资源。 媒介转换器使用 0LT为其分配的带宽资源向 0LT发 送 CNU数据消息, 而不是像现有技术中使用为 CNU分配的带宽资源向 0LT 发送 CNU数据消息, 这样, 媒介转换器只在媒介转换器的发送授权下发送 上行数据,进而可以避免由于同轴域的授权窗口与光域的授权窗口存在偏 差或抖动而导致系统性能下降的问题。 After the foregoing solution, the first receiving unit is configured to receive a CNU data message sent by the media converter, and the CNU data message is sent by the media converter to the 0LT according to the sending permission of the media converter, where the CNU data message includes: CNU sending authorization The request, the CNU sends an authorization request for requesting the bandwidth resource of the CNU, and the transmission authority of the media converter includes: 0LT is a media converter a bandwidth allocation resource; a first allocation unit, configured to perform bandwidth resource allocation for the CNU according to a CNU transmission authorization request; a first sending unit, configured to send a CNU transmission authorization to the media converter, so that the media converter sends the CNU to the CNU The sending authorization, the CNU's sending authorization includes the bandwidth resources allocated by the 0LT for the CNU. The media converter uses 0LT to send CNU data messages to the 0LT for its allocated bandwidth resources, instead of sending CNU data messages to the 0LT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter. The uplink data is sent under the transmission authorization, thereby avoiding the problem that the performance of the system is degraded due to deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
本实施例提供另一种动态带宽分配的装置, 该装置是对图 1 3所示的 装置的进一步扩展, 如图 1 4所示, 包括:  This embodiment provides another device for dynamic bandwidth allocation. The device is a further extension to the device shown in FIG. 13, as shown in FIG.
第一接收单元 1 4 1 , 用于接收媒介转换器发送的 CNU数据消息, CNU 数据消息是媒介转换器根据媒介转换器的发送授权向 0LT发送的, CNU数 据消息包括: CNU发送授权请求, CNU发送授权请求用于请求 CNU的带宽 资源, 媒介转换器的发送授权包括: 0LT为媒介转换器分配的带宽资源; 第一分配单元 1 4 2 , 用于根据 CNU的发送授权请求为 CNU进行带宽资 源分配;  The first receiving unit 1 4 1 is configured to receive a CNU data message sent by the media converter, where the CNU data message is sent by the media converter to the OLT according to the sending permission of the media converter, where the CNU data message includes: CNU sending an authorization request, CNU The sending authorization request is used to request the bandwidth resource of the CNU, and the sending authorization of the media converter includes: 0LT allocates a bandwidth resource for the media converter; the first allocating unit 1 4 2 is configured to perform bandwidth resources for the CNU according to the CNU sending authorization request. Assignment
第一发送单元 1 4 3 , 用于向媒介转换器发送 CNU的发送授权, 以便媒 介转换器向 CNU发送 CNU的发送授权, CNU的发送授权包括 0LT为 CNU分 配的带宽资源。  The first sending unit 1 4 3 is configured to send a CNU transmission authorization to the media converter, so that the media converter sends a CNU transmission authorization to the CNU, and the CNU transmission authorization includes a bandwidth resource allocated by the CLT to the CNU.
进一步的, 本实施例提供的动态带宽分配的装置还包括:  Further, the apparatus for dynamic bandwidth allocation provided by this embodiment further includes:
第二接收单元 1 44 , 用于在向媒介转换器发送 CNU的发送授权之前, 接收媒介转换器发送的媒介转换器的发送授权请求,媒介转换器的发送授 权请求用于请求媒介转换器的带宽资源; a second receiving unit 1 44, configured to send a CNU transmission authorization to the media converter, Receiving a transmission authorization request of the media converter sent by the media converter, and the sending authorization request of the media converter is used to request a bandwidth resource of the media converter;
第二分配单元 145, 用于根据媒介转换器的发送授权请求对媒介转换 器进行带宽资源分配;  a second allocating unit 145, configured to perform bandwidth resource allocation on the media converter according to the sending authorization request of the media converter;
第二发送单元 146, 用于向媒介转换器发送媒介转换器的发送授权。 进一步的, 第一接收单元 141接收的 CNU数据消息还包括: 业务和管 理数据。  The second sending unit 146 is configured to send a transmission authorization of the media converter to the media converter. Further, the CNU data message received by the first receiving unit 141 further includes: service and management data.
进一步的, CNU数据消息包括: 请求带宽资源的 CNU的逻辑链路标记 LLID;  Further, the CNU data message includes: a CNU logical link tag LLID requesting a bandwidth resource;
分配单元 142包括:  The allocation unit 142 includes:
第一分配模块 1421, 分别用于请求不同 LLID的带宽资源; 或者, 第二分配模块 1422, 用于根据需求的总带宽资源请求带宽资源, 总 带宽资源包括: 所有 LLID请求的带宽资源的总和、 以及媒介转换器本身 请求的带宽资源。  The first allocation module 1421 is configured to request bandwidth resources of different LLIDs respectively; or the second allocation module 1422 is configured to request bandwidth resources according to the total bandwidth resources required, where the total bandwidth resources include: a sum of bandwidth resources requested by all LLIDs, And the bandwidth resources requested by the media converter itself.
釆用上述方案后, 第一接收单元, 用于接收媒介转换器发送的 CNU 数据消息, CNU数据消息是媒介转换器根据媒介转换器的发送授权向 0LT 发送的, CNU数据消息包括: CNU发送授权请求, CNU发送授权请求用于 请求 CNU的带宽资源, 媒介转换器的发送授权包括: 0LT为媒介转换器分 配的带宽资源; 第一分配单元, 用于根据 CNU的发送授权请求为 CNU进行 带宽资源分配; 第一发送单元, 用于向媒介转换器发送 CNU的发送授权, 以便媒介转换器向 CNU发送 CNU的发送授权, CNU的发送授权包括 0LT为 CNU分配的带宽资源。 媒介转换器使用 0LT为其分配的带宽资源向 0LT发 送 CNU数据消息, 而不是像现有技术中使用为 CNU分配的带宽资源向 0LT 发送 CNU数据消息, 这样, 媒介转换器只在媒介转换器的发送授权下发送 上行数据,进而可以避免由于同轴域的授权窗口与光域的授权窗口存在偏 差或抖动而导致系统性能下降的问题。 After the foregoing solution, the first receiving unit is configured to receive a CNU data message sent by the media converter, and the CNU data message is sent by the media converter to the 0LT according to the sending permission of the media converter, where the CNU data message includes: CNU sending authorization The CNU sends an authorization request for requesting the bandwidth resource of the CNU, and the transmission authority of the media converter includes: 0LT allocates a bandwidth resource for the media converter; and the first allocation unit is configured to perform bandwidth resources for the CNU according to the CNU sending authorization request. The first sending unit is configured to send a CNU sending authorization to the media converter, so that the media converter sends a CNU sending authorization to the CNU, and the CNU sending authorization includes 0LT Bandwidth resources allocated by the CNU. The media converter uses 0LT to send CNU data messages to the 0LT for its allocated bandwidth resources, instead of sending CNU data messages to the 0LT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter. The uplink data is sent under the transmission authorization, thereby avoiding the problem that the performance of the system is degraded due to deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
下面提供一些实体装置实施例, 该实体装置实施例分别与上述图 6 至图 1 0提供的实施例相对应。  Some physical device embodiments are provided below, which correspond to the embodiments provided in Figures 6 through 10, respectively.
本实施例提供一种媒介转换器, 如图 1 5所示, 包括:  This embodiment provides a media converter, as shown in FIG. 15, including:
接收器 1 5 1 , 用于接收 CNU发送的 CNU数据消息, CNU数据消息包括 CNU的发送授权请求, CNU的发送授权请求用于请求 CNU的带宽资源; 发送器 1 5 2 , 用于根据媒介转换器的发送授权向 0LT发送 CNU数据消 息, 以便 0LT根据 CNU的发送授权请求对 CNU进行带宽资源分配, 媒介转 换器的发送授权包括: 0LT为媒介转换器分配的带宽资源。  The receiver 1 5 1 is configured to receive a CNU data message sent by the CNU, the CNU data message includes a CNU sending authorization request, the CNU sending authorization request is used to request the CNU bandwidth resource, and the transmitter 1 5 2 is configured to convert according to the medium. The sending authorization of the device sends a CNU data message to the OLT, so that the OLT allocates the bandwidth resource to the CNU according to the sending authorization request of the CNU, and the sending authorization of the media converter includes: 0LT allocates the bandwidth resource for the media converter.
釆用上述方案后, 接收器, 用于接收 CNU发送的 CNU数据消息, CNU 数据消息包括 CNU的发送授权请求, CNU的发送授权请求用于请求 CNU的 带宽资源; 发送器, 用于根据媒介转换器的发送授权向 0LT发送 CNU数据 消息, 以便 0LT根据 CNU的发送授权请求对 CNU进行带宽资源分配, 媒介 转换器的发送授权包括: 0LT为媒介转换器分配的带宽资源。 媒介转换器 使用 0LT为其分配的带宽资源向 0LT发送 CNU数据消息,而不是像现有技 术中使用为 CNU分配的带宽资源向 0LT发送 CNU数据消息, 这样, 媒介转 换器只在媒介转换器的发送授权下发送上行数据,进而可以避免由于同轴 域的授权窗口与光域的授权窗口存在偏差或抖动而导致系统性能下降的 问题。 After the foregoing solution, the receiver is configured to receive a CNU data message sent by the CNU, the CNU data message includes a CNU send authorization request, the CNU send authorization request is used to request the CNU bandwidth resource, and the transmitter is configured to convert according to the medium. The sending authorization of the device sends a CNU data message to the OLT, so that the OLT allocates the bandwidth resource to the CNU according to the sending authorization request of the CNU, and the sending authorization of the media converter includes: 0LT allocates the bandwidth resource for the media converter. The media converter uses the 0LT to send CNU data messages to the OLT for its allocated bandwidth resources, instead of sending CNU data messages to the OLT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter. Sending uplink data under the authorization of sending, which can avoid the coaxial The problem that the domain's authorization window deviates or shakes with the optical domain's authorization window, causing system performance degradation.
本实施例提供另一种媒介转换器, 该媒介转换器是对图 15所示的媒 介转换器的进一步扩展, 如图 16所示, 包括:  This embodiment provides another media converter, which is a further extension of the media converter shown in FIG. 15, as shown in FIG.
接收器 161, 用于接收 CNU发送的 CNU数据消息, CNU数据消息包括 CNU的发送授权请求, CNU的发送授权请求用于请求 CNU的带宽资源; 发送器 162, 用于根据媒介转换器的发送授权向 0LT发送 CNU数据消 息, 以便 0LT根据 CNU的发送授权请求对 CNU进行带宽资源分配, 媒介转 换器的发送授权包括: 0LT为媒介转换器分配的带宽资源。  The receiver 161 is configured to receive a CNU data message sent by the CNU, where the CNU data message includes a CNU send authorization request, the CNU send authorization request is used to request the CNU bandwidth resource, and the transmitter 162 is configured to send the authorization according to the media converter. Sending a CNU data message to the OLT, so that the OLT allocates bandwidth resources to the CNU according to the CNU's sending authorization request, and the media converter's sending authorization includes: 0LT allocates a bandwidth resource for the media converter.
进一步的, 本实施例提供的媒介转换器还包括:  Further, the media converter provided in this embodiment further includes:
处理器 163, 还用于在根据媒介转换器的发送授权向 0LT发送 CNU数 据消息之前, 判断 CNU数据消息的格式是否被允许在光域中进行传输; 若 不被允许, 则对 CNU数据消息进行格式转换, 使得转换格式后的 CNU数据 消息能够被发送至 0LT。  The processor 163 is further configured to: before sending the CNU data message to the OLT according to the sending permission of the media converter, determining whether the format of the CNU data message is allowed to be transmitted in the optical domain; if not, performing the CNU data message The format conversion enables the converted CNU data message to be sent to the OLT.
进一步的, 接收器 161, 还用于在根据媒介转换器的发送授权向 0LT 发送 CNU数据消息之前, 接收 0LT发送的媒介转换器的发送授权;  Further, the receiver 161 is further configured to: before sending the CNU data message to the 0LT according to the sending permission of the media converter, receive the sending authorization of the media converter sent by the 0LT;
发送器 162, 还用于在接收 0LT发送的媒介转换器的发送授权之前, 向 0LT发送媒介转换器的发送授权请求,媒介转换器的发送授权请求用于 请求媒介转换器的带宽资源,以便 0LT根据媒介转换器的发送授权请求为 媒介转换器分配带宽资源。  The transmitter 162 is further configured to send a transmission authorization request of the media converter to the OLT before receiving the transmission authorization of the media converter sent by the OLT, and the transmission authorization request of the media converter is used to request the bandwidth resource of the media converter, so as to The media converter is allocated bandwidth resources according to the transmission authority request of the media converter.
进一步的, 接收器 161, 还用于在根据媒介转换器的发送授权向 0LT 发送 CNU数据消息之后, 接收 OLT发送的 CNU的发送授权, CNU的发送授 权包括: 0LT为 CNU分配的带宽资源。 Further, the receiver 161 is further configured to transmit to the OLT according to the transmission authority of the media converter. After the CNU data message is sent, the CNU transmission authorization sent by the OLT is received, and the CNU transmission authorization includes: 0LT allocates a bandwidth resource for the CNU.
进一步的, 处理器 1 6 3 , 还用于在接收 0LT发送的 CNU的发送授权之 后, 判断 CNU的发送授权的格式是否被允许在同轴域中进行传输;  Further, the processor 1 6 3 is further configured to: after receiving the transmission authorization of the CNU sent by the 0LT, determine whether the format of the CNU transmission authorization is allowed to be transmitted in the coaxial domain;
若不被允许, 则对 CNU的发送授权进行格式转换, 使得转换格式后的 CNU的发送授权能够被发送至 CNU ;  If not allowed, the CNU transmission authorization is format converted, so that the CNU transmission authorization after the conversion format can be sent to the CNU;
发送器 1 62 , 还用于向 CNU发送转换格式后的 CNU的发送授权。  The transmitter 1 62 is also used to send the CNU transmission authorization of the converted format to the CNU.
进一步的, 接收器 1 6 1接收的 CNU数据消息还可以包括: CNU业务和 管理数据和 /或请求带宽资源的 CNU的逻辑链路标记 LL I D ;  Further, the CNU data message received by the receiver 116 may further include: CNU service and management data and/or CNU logical link label LL I D requesting bandwidth resources;
媒介转换器的发送授权请求分别用于请求不同 LL I D的带宽资源; 或 者,  The mediator's transmit authorization request is used to request bandwidth resources of different LL I Ds respectively; or
媒介转换器的发送授权请求用于根据需求的总带宽资源请求带宽资 源, 总带宽资源包括: 所有 LL I D请求的带宽资源的总和、 以及媒介转换 器本身请求的带宽资源。  The media converter's transmit grant request is used to request bandwidth resources according to the total bandwidth resource required. The total bandwidth resources include: the sum of the bandwidth resources requested by all LL I Ds, and the bandwidth resources requested by the media converter itself.
釆用上述方案后, 接收器, 用于接收 CNU发送的 CNU数据消息, CNU 数据消息包括 CNU的发送授权请求, CNU的发送授权请求用于请求 CNU的 带宽资源; 发送器, 用于根据媒介转换器的发送授权向 0LT发送 CNU数据 消息, 以便 0LT根据 CNU的发送授权请求对 CNU进行带宽资源分配, 媒介 转换器的发送授权包括: 0LT为媒介转换器分配的带宽资源。 媒介转换器 使用 0LT为其分配的带宽资源向 0LT发送 CNU数据消息,而不是像现有技 术中使用为 CNU分配的带宽资源向 0LT发送 CNU数据消息, 这样, 媒介转 换器只在媒介转换器的发送授权下发送上行数据,进而可以避免由于同轴 域的授权窗口与光域的授权窗口存在偏差或抖动而导致系统性能下降的 问题。 After the foregoing solution, the receiver is configured to receive a CNU data message sent by the CNU, the CNU data message includes a CNU send authorization request, the CNU send authorization request is used to request the CNU bandwidth resource, and the transmitter is configured to convert according to the medium. The sending authorization of the device sends a CNU data message to the OLT, so that the OLT allocates the bandwidth resource to the CNU according to the sending authorization request of the CNU, and the sending authorization of the media converter includes: 0LT allocates the bandwidth resource for the media converter. The media converter uses the 0LT to send a CNU data message to the 0LT for its allocated bandwidth resource, instead of sending a CNU data message to the 0LT using the bandwidth resource allocated for the CNU in the prior art, thus, the medium is transferred. The converter only transmits the uplink data under the transmission authorization of the media converter, thereby avoiding the problem that the system performance is degraded due to the deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
本实施例提供一种 0LT, 如图 17所示, 包括:  This embodiment provides an 0LT, as shown in FIG. 17, including:
接收器 171, 用于接收媒介转换器发送的 CNU数据消息, CNU数据消 息是媒介转换器根据媒介转换器的发送授权向 0LT发送的, CNU数据消息 包括: CNU发送授权请求, CNU发送授权请求用于请求 CNU的带宽资源, 媒介转换器的发送授权包括: 0LT为媒介转换器分配的带宽资源;  The receiver 171 is configured to receive a CNU data message sent by the media converter, where the CNU data message is sent by the media converter to the OLT according to the sending permission of the media converter, where the CNU data message includes: the CNU sends an authorization request, and the CNU sends the authorization request. In requesting the bandwidth resource of the CNU, the transmission authority of the media converter includes: 0LT allocates a bandwidth resource for the media converter;
处理器 172,用于根据 CNU的发送授权请求为 CNU进行带宽资源分配; 发送器 173, 用于向媒介转换器发送 CNU的发送授权, 以便媒介转换 器向 CNU发送 CNU的发送授权, CNU的发送授权包括 0LT为 CNU分配的带 宽资源。  The processor 172 is configured to perform bandwidth resource allocation for the CNU according to the CNU sending authorization request. The transmitter 173 is configured to send a CNU sending authorization to the media converter, so that the media converter sends the CNU sending authorization to the CNU, and the CNU sends the CNU. Authorization includes the bandwidth resources allocated by the 0LT for the CNU.
进一步的, 接收器 171, 还用于在向媒介转换器发送 CNU的发送授权 之前, 接收媒介转换器发送的媒介转换器的发送授权请求, 媒介转换器的 发送授权请求用于请求媒介转换器的带宽资源;  Further, the receiver 171 is further configured to: before sending the CNU transmission authorization to the media converter, receive a transmission authorization request of the media converter sent by the media converter, and the media converter sends an authorization request for requesting the media converter. Bandwidth resources;
处理器 172, 还用于根据媒介转换器的发送授权请求对媒介转换器进 行带宽资源分配;  The processor 172 is further configured to perform bandwidth resource allocation on the media converter according to the sending authorization request of the media converter;
发送器 173, 还用于向媒介转换器发送媒介转换器的发送授权。  The transmitter 173 is further configured to send a transmission authorization of the media converter to the media converter.
进一步的,接收器 171接收的 CNU数据消息还包括:业务和管理数据。 进一步的, CNU数据消息包括: 请求带宽资源的 CNU的逻辑链路标记 Further, the CNU data message received by the receiver 171 further includes: service and management data. Further, the CNU data message includes: a CNU logical link tag requesting a bandwidth resource
LLID; 处理器 1 72 , 具体分别用于请求不同 LL I D的带宽资源; 或者, 根据需求的总带宽资源请求带宽资源, 总带宽资源包括: 所有 LL I D 请求的带宽资源的总和、 以及媒介转换器本身请求的带宽资源。 LLID; The processor 1 72 is specifically configured to request bandwidth resources of different LL IDs respectively; or, according to the required total bandwidth resources, request bandwidth resources, where the total bandwidth resources include: a sum of bandwidth resources requested by all LL IDs, and a request of the media converter itself Bandwidth resources.
釆用上述方案后 ,接收器 ,用于接收媒介转换器发送的 CNU数据消息 , CNU数据消息是媒介转换器根据媒介转换器的发送授权向 0LT发送的 , CNU 数据消息包括: CNU发送授权请求, CNU发送授权请求用于请求 CNU的带 宽资源,媒介转换器的发送授权包括: 0LT为媒介转换器分配的带宽资源; 处理器,用于根据 CNU的发送授权请求为 CNU进行带宽资源分配;发送器, 用于向媒介转换器发送 CNU的发送授权, 以便媒介转换器向 CNU发送 CNU 的发送授权, CNU的发送授权包括 0LT为 CNU分配的带宽资源。 媒介转换 器使用 0LT为其分配的带宽资源向 0LT发送 CNU数据消息,而不是像现有 技术中使用为 CNU分配的带宽资源向 0LT发送 CNU数据消息, 这样, 媒介 转换器只在媒介转换器的发送授权下发送上行数据,进而可以避免由于同 轴域的授权窗口与光域的授权窗口存在偏差或抖动而导致系统性能下降 的问题。  After the foregoing solution, the receiver is configured to receive a CNU data message sent by the media converter, where the CNU data message is sent by the media converter to the OLT according to the sending permission of the media converter, and the CNU data message includes: the CNU sends an authorization request, The CNU sends an authorization request for requesting the bandwidth resource of the CNU, and the transmission authority of the media converter includes: 0LT allocates a bandwidth resource for the media converter; and the processor is configured to allocate bandwidth resources for the CNU according to the CNU sending authorization request; the transmitter And sending a CNU transmission authorization to the media converter, so that the media converter sends a CNU transmission authorization to the CNU, and the CNU transmission authorization includes a bandwidth resource allocated by the 0LT to the CNU. The media converter uses the 0LT to send CNU data messages to the OLT for its allocated bandwidth resources, instead of sending CNU data messages to the OLT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter. The uplink data is sent under the transmission authorization, thereby avoiding the problem that the performance of the system is degraded due to deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
本实施例提供一种动态带宽分配的系统, 如图 1 8所示, 包括: 图 1 1或图 1 2提供的动态带宽分配的装置 1 8 1和图 1 3或图 1 4提供的 动态带宽分配的装置 1 82。  The embodiment provides a dynamic bandwidth allocation system, as shown in FIG. 18, including: the dynamic bandwidth allocation device 1 8 1 provided in FIG. 11 or FIG. 12 and the dynamic bandwidth provided in FIG. 13 or FIG. Assigned device 1 82.
釆用上述方案后, 媒介转换器接收 CNU发送的 CNU数据消息, CNU数 据消息包括 CNU的发送授权请求, CNU的发送授权请求用于请求 CNU的带 宽资源; 根据媒介转换器的发送授权向 0LT发送 CNU数据消息, 以便 0LT 根据 CNU的发送授权请求对 CNU进行带宽资源分配,媒介转换器的发送授 权包括: 0LT为媒介转换器分配的带宽资源。 媒介转换器使用 0LT为其分 配的带宽资源向 0LT发送 CNU数据消息, 而不是像现有技术中使用为 CNU 分配的带宽资源向 0LT发送 CNU数据消息, 这样, 媒介转换器只在媒介转 换器的发送授权下发送上行数据,进而可以避免由于同轴域的授权窗口与 光域的授权窗口存在偏差或抖动而导致系统性能下降的问题。 After using the above solution, the media converter receives the CNU data message sent by the CNU, the CNU data message includes a CNU transmission authorization request, and the CNU transmission authorization request is used to request the CNU bandwidth resource; and sends the transmission to the 0LT according to the transmission permission of the media converter. CNU data message, so 0LT The CNU is allocated bandwidth resources according to the CNU's sending authorization request, and the media converter's sending authorization includes: 0LT allocates bandwidth resources for the media converter. The media converter uses the 0LT to send CNU data messages to the OLT for its allocated bandwidth resources, instead of sending CNU data messages to the OLT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter. The uplink data is sent under the transmission authorization, thereby avoiding the problem that the performance of the system is degraded due to deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
本实施例提供另一种动态带宽分配的系统, 如图 1 9所示, 包括: 图 1 5或图 1 6提供的媒介转换器 1 9 1和图 1 7提供的 0LT 1 9 2。  This embodiment provides another system for dynamic bandwidth allocation, as shown in FIG. 19, including: the media converter 1 9 1 provided in FIG. 15 or FIG. 16 and the 0LT 1 9 2 provided in FIG.
釆用上述方案后, 媒介转换器接收 CNU发送的 CNU数据消息, CNU数 据消息包括 CNU的发送授权请求, CNU的发送授权请求用于请求 CNU的带 宽资源; 根据媒介转换器的发送授权向 0LT发送 CNU数据消息, 以便 0LT 根据 CNU的发送授权请求对 CNU进行带宽资源分配,媒介转换器的发送授 权包括: 0LT为媒介转换器分配的带宽资源。 媒介转换器使用 0LT为其分 配的带宽资源向 0LT发送 CNU数据消息, 而不是像现有技术中使用为 CNU 分配的带宽资源向 0LT发送 CNU数据消息, 这样, 媒介转换器只在媒介转 换器的发送授权下发送上行数据可以避免由于同轴域的授权窗口与光域 的授权窗口存在偏差或抖动而导致系统性能下降的问题。  After using the above solution, the media converter receives the CNU data message sent by the CNU, the CNU data message includes a CNU transmission authorization request, and the CNU transmission authorization request is used to request the CNU bandwidth resource; and sends the transmission to the 0LT according to the transmission permission of the media converter. The CNU data message, so that the 0LT allocates bandwidth resources to the CNU according to the CNU's sending authorization request, and the media converter's sending authorization includes: 0LT allocates bandwidth resources for the media converter. The media converter uses the 0LT to send CNU data messages to the OLT for its allocated bandwidth resources, instead of sending CNU data messages to the OLT using the bandwidth resources allocated for the CNU in the prior art, such that the media converter is only in the media converter. Sending uplink data under the transmission authorization can avoid the problem that the system performance is degraded due to deviation or jitter of the authorization window of the coaxial domain and the authorization window of the optical domain.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到 本发明可借助软件加必需的通用硬件的方式来实现, 当然也可以通过硬 件, 但很多情况下前者是更佳的实施方式。 基于这样的理解, 本发明的技 术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式 体现出来, 该计算机软件产品存储在可读取的存储介质中, 如计算机的软 盘, 硬盘或光盘等, 包括若干指令用以使得一台计算机设备(可以是个人 计算机, 服务器, 或者网络设备等) 执行本发明各个实施例所述的方法。 以上所述,仅为本发明的具体实施方式, 但本发明的保护范围并不局限于 此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保 护范围应所述以权利要求的保护范围为准。 Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. . Based on such understanding, the technical solution of the present invention may be in the form of a software product in essence or in part contributing to the prior art. It is embodied that the computer software product is stored in a readable storage medium, such as a floppy disk, a hard disk or an optical disk of a computer, and includes a plurality of instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) The methods described in various embodiments of the invention are performed. The above is only a specific 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 substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权 利 要 求 书 claims
1、 一种动态带宽分配的方法, 其特征在于, 包括: 1. A method of dynamic bandwidth allocation, characterized by including:
媒介转换器接收同轴网络单元 CNU发送的 CNU数据消息, 所述 CNU数 据消息包括 CNU的发送授权请求, 所述 CNU的发送授权请求用于请求所述 CNU的带宽资源; The media converter receives the CNU data message sent by the coaxial network unit CNU. The CNU data message includes a transmission authorization request of the CNU. The CNU transmission authorization request is used to request the bandwidth resources of the CNU;
根据所述媒介转换器的发送授权向光线路终端 0LT发送所述 CNU数据 消息, 以便所述 0LT根据所述 CNU的发送授权请求对所述 CNU进行带宽资 源分配, 所述媒介转换器的发送授权包括: 所述 0LT为所述媒介转换器分 配的带宽资源。 Send the CNU data message to the optical line terminal OLT according to the transmission authorization of the media converter, so that the OLT allocates bandwidth resources to the CNU according to the transmission authorization request of the CNU, and the transmission authorization of the media converter It includes: the bandwidth resources allocated by the OLT to the media converter.
2、 根据权利要求 1所述的方法, 其特征在于, 在所述根据媒介转换器 的发送授权向 0LT发送所述 CNU数据消息之前, 所述方法还包括: 2. The method according to claim 1, characterized in that, before sending the CNU data message to the OLT according to the transmission authorization of the media converter, the method further includes:
判断所述 CNU数据消息的格式是否被允许在光域中进行传输; 若不被允许, 则对所述 CNU数据消息进行格式转换, 使得转换格式后 的 CNU数据消息能够被发送至 0LT。 Determine whether the format of the CNU data message is allowed to be transmitted in the optical domain; if not, perform format conversion on the CNU data message so that the converted CNU data message can be sent to the OLT.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 在所述根据媒介转 换器的发送授权向 0LT发送所述 CNU数据消息之前, 所述方法还包括: 向所述 0LT发送媒介转换器的发送授权请求, 所述媒介转换器的发送 授权请求用于请求媒介转换器的带宽资源, 以便所述 0LT根据所述媒介转 换器的发送授权请求为所述媒介转换器分配带宽资源。 3. The method according to claim 1 or 2, characterized in that, before sending the CNU data message to the OLT according to the transmission authorization of the media converter, the method further includes: sending a medium conversion to the OLT The transmission authorization request of the media converter is used to request the bandwidth resources of the media converter, so that the OLT allocates bandwidth resources to the media converter according to the transmission authorization request of the media converter.
接收所述 0LT发送的媒介转换器的发送授权。 Receive the sending authorization from the media converter sent by the OLT.
4、 根据权利要求 1至 3中任意一项所述的方法, 其特征在于, 在根据 所述媒介转换器的发送授权向 0LT发送所述 CNU数据消息之后, 所述方法 还包括: 4. The method according to any one of claims 1 to 3, characterized in that, according to After the media converter is authorized to send the CNU data message to the OLT, the method further includes:
接收所述 0LT发送的 CNU的发送授权, 所述 CNU的发送授权包括: 所 述 0LT为 CNU分配的带宽资源。 Receive the CNU transmission authorization sent by the OLT. The CNU transmission authorization includes: the bandwidth resources allocated by the OLT to the CNU.
5、 根据权利要求 4所述的方法, 其特征在于, 在所述接收所述 0LT发 送的 CNU的发送授权之后, 所述方法还包括: 5. The method according to claim 4, characterized in that, after receiving the transmission authorization of the CNU sent by the OLT, the method further includes:
判断 CNU的发送授权的格式是否被允许在同轴域中进行传输; 若不被允许, 则对所述 CNU的发送授权进行格式转换, 使得转换格式 后的 CNU的发送授权能够被发送至所述 CNU; Determine whether the format of the CNU's transmission authorization is allowed to be transmitted in the coaxial domain; if not, perform format conversion on the CNU's transmission authorization so that the converted CNU's transmission authorization can be sent to the CNU;
向所述 CNU发送所述转换格式后的 CNU的发送授权。 Send the transmission authorization of the CNU in the converted format to the CNU.
6、根据权利要求 5所述的方法,其特征在于,所述 CNU数据消息包括: 请求带宽资源的 CNU的逻辑链路标记 LL I D; 6. The method according to claim 5, characterized in that the CNU data message includes: a logical link tag LL ID of the CNU requesting bandwidth resources;
所述媒介转换器的发送授权请求用于分别根据不同 LL I D 需求的宽带 资源请求带宽资源; 或者, The media converter's sending authorization request is used to request bandwidth resources according to the broadband resources with different LL ID requirements; or,
所述媒介转换器的发送授权请求用于根据需求的总带宽资源请求带宽 资源, 所述总带宽资源包括: 所有 LL I D请求的带宽资源的总和、 以及媒介 转换器本身请求的带宽资源。 The media converter's transmission authorization request is used to request bandwidth resources according to the total bandwidth resources required. The total bandwidth resources include: the sum of bandwidth resources requested by all LL IDs, and the bandwidth resources requested by the media converter itself.
7、 一种动态带宽分配的方法, 其特征在于, 包括: 7. A method of dynamic bandwidth allocation, characterized by including:
0LT 接收媒介转换器发送的 CNU数据消息, 所述 CNU数据消息是所述 媒介转换器根据媒介转换器的发送授权向所述 0LT发送的, 所述 CNU数据 消息包括: CNU 的发送授权请求, 所述 CNU 的发送授权请求用于请求 CNU 的带宽资源, 所述媒介转换器的发送授权包括: 所述 0LT为所述媒介转换 器分配的带宽资源; The OLT receives the CNU data message sent by the media converter. The CNU data message is sent by the media converter to the OLT according to the transmission authorization of the media converter. The CNU data message includes: CNU transmission authorization request, so The CNU send authorization request is used to request the CNU bandwidth resources, the transmission authorization of the media converter includes: the bandwidth resources allocated by the OLT to the media converter;
根据所述 CNU的发送授权请求为所述 CNU进行带宽资源分配; 向所述媒介转换器发送 CNU的发送授权, 以便所述媒介转换器向所述 Allocate bandwidth resources to the CNU according to the CNU's sending authorization request; send the CNU's sending authorization to the media converter, so that the media converter sends the
CNU发送所述 CNU的发送授权, 所述 CNU的发送授权包括所述 0LT为所述CNU sends the CNU sending authorization, and the CNU sending authorization includes the OLT as the
CNU分配的带宽资源。 Bandwidth resources allocated by CNU.
8、 根据权利要求 7所述的方法, 其特征在于, 在所述向所述媒介转换 器发送 CNU的发送授权之前, 所述方法还包括: 8. The method according to claim 7, characterized in that, before sending the CNU transmission authorization to the media converter, the method further includes:
接收所述媒介转换器发送的媒介转换器的发送授权请求, 所述媒介转 换器的发送授权请求用于请求媒介转换器的带宽资源; Receive a transmission authorization request of the media converter sent by the media converter, where the transmission authorization request of the media converter is used to request bandwidth resources of the media converter;
根据所述媒介转换器的发送授权请求对所述媒介转换器进行带宽资源 分配; Allocate bandwidth resources to the media converter according to the transmission authorization request of the media converter;
向所述媒介转换器发送所述媒介转换器的发送授权。 Send a transmission authorization of the media converter to the media converter.
9、根据权利要求 8所述的方法,其特征在于,所述 CNU数据消息包括: 请求带宽资源的 CNU的逻辑链路标记 LL ID; 9. The method according to claim 8, characterized in that the CNU data message includes: the logical link tag LL ID of the CNU requesting bandwidth resources;
所述根据所述媒介转换器的发送授权请求对所述媒介转换器进行带宽 资源分配包括: The allocation of bandwidth resources to the media converter according to the transmission authorization request of the media converter includes:
分别根据不同 LL ID需求的宽带资源请求带宽资源; 或者, Request bandwidth resources based on the bandwidth resources required by different LL IDs; or,
根据需求的总带宽资源请求带宽资源,所述总带宽资源包括:所有 LL ID 请求的带宽资源的总和、 以及媒介转换器本身请求的带宽资源。 Request bandwidth resources based on the total bandwidth resources required, which includes: the sum of bandwidth resources requested by all LL IDs, and the bandwidth resources requested by the media converter itself.
10、 一种媒介转换器, 其特征在于, 包括: 接收器, 用于接收 CNU发送的 CNU数据消息, 所述 CNU数据消息包括 CNU的发送授权请求, 所述 CNU的发送授权请求用于请求所述 CNU的带宽 资源; 10. A media converter, characterized by including: A receiver, configured to receive a CNU data message sent by the CNU, where the CNU data message includes a transmission authorization request of the CNU, and the CNU transmission authorization request is used to request bandwidth resources of the CNU;
发送器, 用于根据所述媒介转换器的发送授权向 0LT发送所述 CNU数 据消息, 以便所述 0LT根据所述 CNU的发送授权请求对所述 CNU进行带宽 资源分配, 所述媒介转换器的发送授权包括: 所述 0LT为所述媒介转换器 分配的带宽资源。 A transmitter configured to send the CNU data message to the OLT according to the transmission authorization of the media converter, so that the OLT allocates bandwidth resources to the CNU according to the transmission authorization request of the CNU, the media converter The sending authorization includes: bandwidth resources allocated by the OLT to the media converter.
1 1、 根据权利要求 1 0所述的媒介转换器, 其特征在于, 还包括: 所述处理器, 还用于在所述根据媒介转换器的发送授权向 0LT发送所 述 CNU数据消息之前, 判断所述 CNU数据消息的格式是否被允许在光域中 进行传输; 若不被允许, 则对所述 CNU数据消息进行格式转换, 使得转换 格式后的 CNU数据消息能够被发送至 0LT。 11. The media converter according to claim 10, further comprising: the processor, further configured to: before sending the CNU data message to the OLT according to the transmission authorization of the media converter, Determine whether the format of the CNU data message is allowed to be transmitted in the optical domain; if not, perform format conversion on the CNU data message so that the format-converted CNU data message can be sent to the OLT.
1 2、 根据权利要求 1 0或 1 1所述的媒介转换器, 其特征在于, 所述接 收器, 还用于接收所述 0LT发送的媒介转换器的发送授权; 12. The media converter according to claim 10 or 11, characterized in that the receiver is also used to receive the transmission authorization of the media converter sent by the OLT;
所述发送器, 还用于在所述接收所述 0LT发送的媒介转换器的发送授 权之前, 向所述 0LT发送媒介转换器的发送授权请求, 所述媒介转换器的 发送授权请求用于请求媒介转换器的带宽资源, 以便所述 0LT根据所述媒 介转换器的发送授权请求为所述媒介转换器分配带宽资源。 The transmitter is further configured to send a transmission authorization request of the media converter to the OLT before receiving the transmission authorization of the media converter sent by the OLT. The transmission authorization request of the media converter is used to request Bandwidth resources of the media converter, so that the OLT allocates bandwidth resources to the media converter according to the transmission authorization request of the media converter.
1 3、 根据权利要求 1 0至 1 2中任意一项所述的媒介转换器, 其特征在 于, 所述接收器, 还用于在根据所述媒介转换器的发送授权向 0LT发送所 述 CNU数据消息之后, 接收所述 0LT发送的 CNU的发送授权, 所述 CNU的 发送授权包括: 所述 OLT为 CNU分配的带宽资源。 13. The media converter according to any one of claims 10 to 12, characterized in that the receiver is further configured to send the CNU to the OLT according to the transmission authorization of the media converter. After receiving the data message, the CNU's transmission authorization sent by the OLT is received, and the CNU's The sending authorization includes: the bandwidth resources allocated by the OLT to the CNU.
14、 根据权利要求 1 3所述的媒介转换器, 其特征在于, 所述处理器, 还用于在所述接收所述 0LT发送的 CNU的发送授权之后, 判断 CNU的发送 授权的格式是否被允许在同轴域中进行传输; 14. The media converter according to claim 13, wherein the processor is further configured to, after receiving the CNU transmission authorization sent by the OLT, determine whether the format of the CNU transmission authorization is changed. Allows transmission in the coaxial domain;
若不被允许, 则对所述 CNU的发送授权进行格式转换, 使得转换格式 后的 CNU的发送授权能够被发送至所述 CNU; If it is not allowed, perform format conversion on the CNU's sending authorization so that the format-converted CNU's sending authorization can be sent to the CNU;
所述发送器, 还用于向所述 CNU发送所述转换格式后的 CNU的发送授 权。 The transmitter is further configured to send the converted CNU transmission authorization to the CNU.
1 5、 根据权利要求 14所述的媒介转换器, 其特征在于, 所述 CNU数据 消息包括: 请求带宽资源的 CNU的逻辑链路标记 LL I D ; 15. The media converter according to claim 14, wherein the CNU data message includes: the logical link tag LL ID of the CNU requesting bandwidth resources;
所述媒介转换器的发送授权请求分别用于请求不同 LL I D的带宽资源; 或者, The transmission authorization requests of the media converter are respectively used to request bandwidth resources of different LL IDs; or,
所述媒介转换器的发送授权请求用于根据需求的总带宽资源请求带宽 资源, 所述总带宽资源包括: 所有 LL I D请求的带宽资源的总和、 以及媒介 转换器本身请求的带宽资源。 The media converter's transmission authorization request is used to request bandwidth resources according to the total bandwidth resources required. The total bandwidth resources include: the sum of bandwidth resources requested by all LL IDs, and the bandwidth resources requested by the media converter itself.
1 6、 一种 0LT , 其特征在于, 包括: 1 6. An OLT, characterized by: including:
接收器, 用于接收媒介转换器发送的 CNU数据消息, 所述 CNU数据消 息是所述媒介转换器根据媒介转换器的发送授权向所述 0LT发送的, 所述 CNU数据消息包括: CNU发送授权请求, 所述 CNU发送授权请求用于请求 CNU 的带宽资源, 所述媒介转换器的发送授权包括: 所述 0LT 为所述媒介 转换器分配的带宽资源; 处理器, 用于根据所述 CNU的发送授权请求为所述 CNU进行带宽资源 分配; A receiver, configured to receive a CNU data message sent by the media converter. The CNU data message is sent by the media converter to the OLT according to the transmission authorization of the media converter. The CNU data message includes: CNU transmission authorization. request, the CNU sends an authorization request to request the bandwidth resources of the CNU, and the transmission authorization of the media converter includes: the bandwidth resources allocated by the OLT to the media converter; A processor, configured to allocate bandwidth resources to the CNU according to the transmission authorization request of the CNU;
发送器, 用于向所述媒介转换器发送 CNU的发送授权, 以便所述媒介 转换器向所述 CNU发送所述 CNU的发送授权, 所述 CNU的发送授权包括所 述 0LT为所述 CNU分配的带宽资源。 A transmitter, configured to send the transmission authorization of the CNU to the media converter, so that the media converter sends the transmission authorization of the CNU to the CNU, and the transmission authorization of the CNU includes the allocation by the OLT for the CNU bandwidth resources.
17、 根据权利要求 16所述的 0LT , 其特征在于, 所述接收器, 还用于 在所述向所述媒介转换器发送 CNU的发送授权之前, 接收所述媒介转换器 发送的媒介转换器的发送授权请求, 所述媒介转换器的发送授权请求用于 请求媒介转换器的带宽资源; 17. The OLT according to claim 16, wherein the receiver is further configured to receive the media converter sent by the media converter before sending the CNU transmission authorization to the media converter. The sending authorization request of the media converter is used to request the bandwidth resources of the media converter;
所述处理器, 还用于根据所述媒介转换器的发送授权请求对所述媒介 转换器进行带宽资源分配; The processor is also configured to allocate bandwidth resources to the media converter according to the transmission authorization request of the media converter;
所述发送器, 还用于向所述媒介转换器发送所述媒介转换器的发送授 权。 The sender is also used to send the transmission authorization of the media converter to the media converter.
18、 根据权利要求 17所述的 0LT , 其特征在于, 所述 CNU数据消息包 括: 请求带宽资源的 CNU的逻辑链路标记 LL ID; 18. The OLT according to claim 17, wherein the CNU data message includes: a logical link tag LL ID of the CNU requesting bandwidth resources;
所述处理器,具体用于分别根据不同 LL ID需求的宽带资源请求带宽资 源; 或者, The processor is specifically used to request bandwidth resources according to the broadband resources required by different LL IDs; or,
根据需求的总带宽资源请求带宽资源,所述总带宽资源包括:所有 LL ID 请求的带宽资源的总和、 以及媒介转换器本身请求的带宽资源。 Request bandwidth resources based on the total bandwidth resources required, which includes: the sum of bandwidth resources requested by all LL IDs, and the bandwidth resources requested by the media converter itself.
19、 一种动态带宽分配的系统, 其特征在于, 包括: 19. A system for dynamic bandwidth allocation, characterized by including:
权利要求 1 0至 15 中任意一项所述的媒介转换器和权利要求 16至 18 中任意一项所述的 0LT。 The media converter according to any one of claims 10 to 15 and claims 16 to 18 0LT described in any one of them.
PCT/CN2013/072754 2013-03-15 2013-03-15 Dynamic bandwidth allocation method, device, and system WO2014139172A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2013/072754 WO2014139172A1 (en) 2013-03-15 2013-03-15 Dynamic bandwidth allocation method, device, and system
CN201380000226.5A CN103534981B (en) 2013-03-15 2013-03-15 Dynamic bandwidth allocation method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/072754 WO2014139172A1 (en) 2013-03-15 2013-03-15 Dynamic bandwidth allocation method, device, and system

Publications (1)

Publication Number Publication Date
WO2014139172A1 true WO2014139172A1 (en) 2014-09-18

Family

ID=49935408

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/072754 WO2014139172A1 (en) 2013-03-15 2013-03-15 Dynamic bandwidth allocation method, device, and system

Country Status (2)

Country Link
CN (1) CN103534981B (en)
WO (1) WO2014139172A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019017427A1 (en) * 2017-07-19 2019-01-24 日本電信電話株式会社 Virtual subscriber line terminal station device and control method for virtual subscriber line terminal station device
CN109428762B (en) * 2017-09-05 2021-09-07 华为技术有限公司 Bandwidth scheduling method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217459A (en) * 2007-12-27 2008-07-09 华中科技大学 An Ethernet passive optical network dynamic bandwidth distribution method based on bandwidth credit
US20100080555A1 (en) * 2008-09-29 2010-04-01 Motorola, Inc. Method and architecture for providing high bandwidth broadband communication to fast moving users
CN101895791A (en) * 2009-05-21 2010-11-24 中兴通讯股份有限公司 Protection switching method and device in Ethernet passive optical network
CN102549952A (en) * 2011-12-09 2012-07-04 华为技术有限公司 Method, system and device for bandwidth resource management

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100563657B1 (en) * 2003-10-21 2006-03-23 한국전자통신연구원 Vlan aware shared lan emulation method and device with manageable llid in epon
CN101488909B (en) * 2008-01-17 2011-05-04 杭州华三通信技术有限公司 Transmission control method, coaxial line terminal and optical network unit
CN102474677B (en) * 2009-09-09 2016-06-08 美国博通公司 Ethernet passive optical network (EPOC) based on coaxial cable

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217459A (en) * 2007-12-27 2008-07-09 华中科技大学 An Ethernet passive optical network dynamic bandwidth distribution method based on bandwidth credit
US20100080555A1 (en) * 2008-09-29 2010-04-01 Motorola, Inc. Method and architecture for providing high bandwidth broadband communication to fast moving users
CN101895791A (en) * 2009-05-21 2010-11-24 中兴通讯股份有限公司 Protection switching method and device in Ethernet passive optical network
CN102549952A (en) * 2011-12-09 2012-07-04 华为技术有限公司 Method, system and device for bandwidth resource management

Also Published As

Publication number Publication date
CN103534981A (en) 2014-01-22
CN103534981B (en) 2017-04-19

Similar Documents

Publication Publication Date Title
TWI455501B (en) Methods and apparatus for extending mac control messages in epon
KR100490901B1 (en) Dynamic Bandwidth Allocation Method and Apparatus based on Class of Service over Ethernet Passive Optical Network
KR100450771B1 (en) Method for controlling upstream data of Ethernet PON and apparatus thereof
US20130236178A1 (en) Multi-point control protocol proxy architecture in a network with optical and coaxial domains
JP6429225B2 (en) Optical terminal equipment and uplink scheduling method for optical network
US9680575B2 (en) Relay device, station side device, and communication system and communication method using relay device
WO2009012728A1 (en) A method, apparatus and system for an optical network unit accessing the network
KR101403911B1 (en) A dynamic bandwidth allocation device for a passive optical network system and the method implemented
WO2018112981A1 (en) Data communication system, optical line terminal, and baseband unit
WO2009000194A1 (en) Bandwidth allocation method, system and apparatus in optical network
WO2013082813A1 (en) Bandwidth resource management method, system, and device
WO2014139172A1 (en) Dynamic bandwidth allocation method, device, and system
Clarke et al. Simultaneous and interleaved polling: an upstream protocol for WDM-PON
WO2014201605A1 (en) Bandwidth allocation method, device, local end, terminal and system
WO2014036682A1 (en) Method, device, and system for preventing registration conflict
JP2006020240A (en) Band control method, subscriber accommodation apparatus, indoor terminating equipment, and user terminal
KR102274590B1 (en) Apparatus and method for quality of service in passive optical network
JP2007288629A (en) Transmission allocation method and device
US9210029B2 (en) Logical link identifier registration method, device, and system
WO2013053243A1 (en) Bandwidth sharing method, device, and system
WO2015077943A1 (en) Method, apparatus and system for allocating uplink bandwidth in passive optical network
CN112262551B (en) Subscriber line terminal station apparatus and band allocation method
CN103384552B (en) Based on the methods, devices and systems of the registration of EPOC system
US20230025050A1 (en) Upbandwidth allocation device and uplink bandwidth allocation method
JP2019022157A (en) Subscriber line terminal apparatus

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

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

Country of ref document: EP

Kind code of ref document: A1