WO2014169842A1 - 一种传输带宽的控制方法、装置及系统 - Google Patents

一种传输带宽的控制方法、装置及系统 Download PDF

Info

Publication number
WO2014169842A1
WO2014169842A1 PCT/CN2014/075658 CN2014075658W WO2014169842A1 WO 2014169842 A1 WO2014169842 A1 WO 2014169842A1 CN 2014075658 W CN2014075658 W CN 2014075658W WO 2014169842 A1 WO2014169842 A1 WO 2014169842A1
Authority
WO
WIPO (PCT)
Prior art keywords
bandwidth
logical port
port
identifier
application
Prior art date
Application number
PCT/CN2014/075658
Other languages
English (en)
French (fr)
Inventor
吴洪
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2014169842A1 publication Critical patent/WO2014169842A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/20Negotiating bandwidth

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, device, and system for controlling transmission bandwidth. Background technique
  • An existing base station generally includes one to two indoor baseband processing units (BBUs), and the base station uses the physical ports on the BBU for data transmission.
  • BBUs baseband processing units
  • the embodiment of the invention provides a control method for the transmission bandwidth, which can dynamically use the system bandwidth according to the actual service requirements of the service application, reduce manual planning and manual configuration, and does not need to follow the bandwidth demand of different service applications. Required for every business application The maximum amount of bandwidth is planned to increase the utilization of system bandwidth.
  • the embodiments of the present invention also provide corresponding devices and systems.
  • a first aspect of the present invention provides a method for controlling a transmission bandwidth, including:
  • the unallocated bandwidth is not less than the bandwidth value of the application, and the number of logical ports is not allocated.
  • the bandwidth request response carries an identifier of the unassigned logical port and a bandwidth value allocated for the unassigned logical port.
  • the service application device uses the logical port whose usage status is unallocated for data transmission.
  • the method further includes: receiving an identifier of the local BBU that is reported by each BBU, and the identifier of the local BBU and the physical The identifier of the port is associated with the storage;
  • the bandwidth request further includes an identifier of the BBU specified by the service application device, where the service application device selects a usage state from all physical ports of the same resource pool as available according to the bandwidth value of the application.
  • the unallocated bandwidth is not less than the bandwidth value of the application, and one physical port whose logical port number is greater than 0 is not allocated, and a usage state under the physical port is an unassigned logical port, and the usage state is set to
  • the bandwidth value of the unassigned logical port is the bandwidth value of the application, including:
  • the device selects the usage status as available from the physical ports under the specified BBU, the unallocated bandwidth is not less than the bandwidth value of the application, and the physical port with the number of logical ports greater than 0 is not allocated, and the physical port is allocated.
  • One of the usage states is an unassigned logical port, and the bandwidth value of the unassigned logical port is set to the bandwidth value of the application.
  • the bandwidth request further carries an identifier of a physical port specified by the service application device
  • the unallocated bandwidth is not less than the bandwidth value of the application, and the unallocated logic
  • a physical port with a port number greater than 0 is assigned a logical port whose usage status is unassigned, and the bandwidth value of the unassigned logical port is set to the bandwidth value of the application, including:
  • the method further includes:
  • Modifying the unallocated bandwidth value of the physical port to which the unassigned logical port belongs is the original unallocated bandwidth value minus the bandwidth value of the application;
  • the number of the unassigned logical ports under the physical port to which the unassigned logical port belongs is modified to be the original unallocated logical port number minus one.
  • the method further includes:
  • the association stores an identifier of the service application device, an identifier of a logical port that has been allocated to the service application device, and a bandwidth value corresponding to the allocated logical port.
  • the service application device selects a usage state from all physical ports of the same resource pool as available according to the bandwidth value of the application, and is not allocated.
  • the bandwidth is not less than the bandwidth value of the application, and a physical port whose number of logical ports is greater than 0 is not allocated, a logical port under the physical port is allocated as an unallocated logical port, and the used state is unallocated logic.
  • the bandwidth value of the port is the bandwidth value of the application, including:
  • the bandwidth value of the application is that the service application device selects the usage status from all the physical ports of the same resource pool as available, the unallocated bandwidth is not less than the bandwidth value of the application, and the number of unallocated logical ports is greater than 0.
  • a physical port is assigned a logical port that is not assigned to the physical port, and the bandwidth value of the unassigned logical port is set to the bandwidth value of the application.
  • the method further includes:
  • bandwidth increase request sent by the service application device, where the bandwidth increase request carries a logical port identifier for applying for increasing bandwidth and an increased bandwidth value of the application;
  • the logical port identifier of the bandwidth is increased, and the increased bandwidth value is applied, and the unallocated bandwidth under the physical port to which the logical port to which the bandwidth is added is not less than the bandwidth value added by the application, and is originally the
  • the bandwidth value of the logical port that requests the increased bandwidth is updated to be the logical port of the application to increase the bandwidth. The sum of the allocated bandwidth value and the increased bandwidth value of the application;
  • the unallocated bandwidth value of the physical port to which the logical port to which the application increases the bandwidth belongs is the original unallocated bandwidth value minus the bandwidth value added by the application;
  • the method further includes:
  • bandwidth reduction request carries a logical port identifier for requesting bandwidth reduction and a bandwidth value for requesting reduction
  • the unallocated bandwidth value of the port is the original unallocated bandwidth value plus the reduced bandwidth value of the application;
  • the method further includes:
  • the unallocated bandwidth of the physical port to which the logical port that is released by the application is modified is the sum of the original unallocated bandwidth value and the bandwidth value of the logical port that is requested to be released;
  • a second aspect of the present invention provides a method for controlling transmission bandwidth, including:
  • bandwidth request response sent by the master control BBU, where the bandwidth request response carries an identifier of a logical port allocated by the master BBU to an unassigned logical port and a logical port allocated to the unassigned logical port.
  • Bandwidth value
  • the master control BBU And receiving, by the master control BBU, a bandwidth request response, where the bandwidth request response carries an identifier of a logical port that is allocated by the master BBU, and is an unallocated logical port.
  • the assigned bandwidth value including:
  • the using the usage status is an unallocated logical port for data transmission, including:
  • the data transfer is performed using the use state on the specified BBU as an unallocated logical port.
  • the bandwidth request further carries an identifier of the specified physical port
  • the master control BBU And receiving, by the master control BBU, a bandwidth request response, where the bandwidth request response carries an identifier of a logical port that is allocated by the master BBU, and is an unallocated logical port.
  • the assigned bandwidth value including:
  • the using the usage status is an unallocated logical port for data transmission, including:
  • the use state under the specified physical port is an unallocated logical port for data transmission.
  • the method further includes:
  • bandwidth increase request sent to the service application device, where the bandwidth increase request carries a logical port identifier for applying for increasing bandwidth and an increased bandwidth value of the application;
  • the bandwidth is increased to
  • the work response carries the identifier of the logical port that requests the increased bandwidth and the updated bandwidth value
  • the data transmission is performed by using the logical port of the application that increases the bandwidth after the update of the bandwidth value.
  • the method further includes:
  • bandwidth reduction request carries a logical port identifier for requesting bandwidth reduction and a bandwidth value for applying for reduction
  • bandwidth reduction success response carries the identifier of the logical port that requests the bandwidth reduction and the reduced bandwidth value
  • the data transmission is performed by using the logical port of the reduced bandwidth after the bandwidth reduction value is applied.
  • the method further includes:
  • the bandwidth release success response carries an identifier of the logical port released by the application.
  • a third aspect of the present invention provides a baseband processing unit, including:
  • a first receiving unit configured to receive an identifier of a physical port in the local BBU reported by each BBU in the same resource pool, and an identifier of a logical port associated with the identifier of the physical port, and the physical port Using status information, usage status information of the logical port, an unallocated bandwidth value under the physical port, and an unassigned logical port number under the physical port;
  • An association storage unit configured to associate with an identifier of a physical port in the local BBU reported by each of the same resource pools received by the first receiving unit, and a logical port associated with the identifier of the physical port Identification, as well as the physical port State information, usage state information of the logical port, unallocated bandwidth value under the physical port, and number of unallocated logical ports under the physical port;
  • the first receiving unit is further configured to receive a bandwidth request of the service application device, where the bandwidth request carries a bandwidth value that is requested by the service application device;
  • An allocating unit configured to select, according to the bandwidth value of the application received by the first receiving unit, that the service application device selects a usage state from all physical ports of the same resource pool, and the unallocated bandwidth is not A physical port that is smaller than the bandwidth value of the application and has not allocated a logical port number greater than 0, allocates a usage port under the physical port to an unassigned logical port, and sets the usage state to an unassigned logical port.
  • the bandwidth value is the bandwidth value of the application;
  • a first sending unit configured to send a bandwidth request response to the service application device, where the bandwidth request response carries an identifier of the unassigned logical port and an unallocated logical port allocation
  • the bandwidth value is such that the service application device uses the used state as an unallocated logical port for data transmission.
  • the first receiving unit is further configured to receive an identifier of the BBU reported by each BBU;
  • the associated storage unit is further configured to store the identifier of the BBU received by the first receiving unit in association with the identifier of the physical port in the local BBU;
  • the bandwidth request further includes an identifier of the BBU specified by the service application device, where the allocation unit is configured to use, according to the identifier of the specified BBU and the bandwidth value of the application, the service application device from the The selected usage status of the physical port in the specified BBU is available.
  • the unallocated bandwidth is not less than the bandwidth value of the application, and the physical port with the number of logical ports greater than 0 is not assigned.
  • the unassigned logical port, and the bandwidth value of the unassigned logical port is set to the bandwidth value of the application.
  • the bandwidth request further carries an identifier of a physical port specified by the service application device
  • the allocating unit configured to identify, according to the specified physical port, the application The bandwidth value, where the unallocated bandwidth of the service application device at the specified physical port is not less than the bandwidth value of the application, and the number of unassigned logical ports under the specified physical port is greater than 0. Allocating a logical port whose usage status is unassigned, and setting the bandwidth value of the unassigned logical port to be the bandwidth value of the application.
  • the baseband processing unit further includes:
  • a setting unit configured to allocate the allocation unit to the service application device, wherein the usage status of the unallocated logical port is set to be allocated;
  • a modifying unit configured to modify an unallocated bandwidth value of the physical port to which the unassigned logical port belongs, subtracting the bandwidth value of the application, and modifying the usage status to be unassigned
  • the number of the unassigned logical ports under the physical port to which the logical port belongs is the number of original unallocated logical ports minus one.
  • the associated storage unit is further configured to associate an identifier of the service application device, an identifier of a logical port that has been allocated to the service application device, and a total bandwidth value.
  • the allocating unit is configured to determine that a bandwidth value of the application is not greater than the bandwidth application upper limit, and a sum of a bandwidth value of the application and a bandwidth of all logical ports used by the service application device is not greater than the bandwidth.
  • the service application device selects the usage status from all the physical ports of the same resource pool as available according to the bandwidth value of the application, and the unallocated bandwidth is not less than the bandwidth value of the application, and A physical port with a logical port number greater than 0 is allocated, a logical port whose usage status is unassigned, and a bandwidth value of the unassigned logical port is set to the bandwidth value of the application.
  • the first receiving unit is further configured to receive an increase in bandwidth sent by the service application device. Adding a request, the bandwidth increase request carries a logical port identifier for applying for increasing bandwidth and an increased bandwidth value of the application;
  • the allocating unit is further configured to: increase a bandwidth of the logical port identifier according to the application, and apply for the added bandwidth value, where the unallocated bandwidth under the physical port to which the logical port to which the bandwidth is added is not less than the application increases.
  • the bandwidth value, and the bandwidth allocated by the logical port that originally increased the bandwidth of the application and the sum of the application added to the bandwidth value is not greater than the bandwidth application upper limit, and the bandwidth value of the logical port that requests the increased bandwidth is updated.
  • the modifying unit is configured to modify an unallocated bandwidth value of the physical port to which the logical port to which the application adds bandwidth is added, and the original unallocated bandwidth value minus the bandwidth value added by the application;
  • the first sending unit is further configured to send a bandwidth increase success response to the service application device, where the bandwidth increase success response carries an identifier of the logical port that requests the increased bandwidth and the updated bandwidth value.
  • the first receiving unit is further configured to receive a bandwidth reduction request sent by the service application device, where the bandwidth reduction request carries a logical port identifier that applies for reducing bandwidth and a bandwidth value that is requested to be reduced;
  • the allocating unit is further configured to reduce, according to the requesting the reduced logical port identifier of the bandwidth and the requested reduced bandwidth value, the bandwidth value of the logical port that requests the bandwidth reduction to reduce the bandwidth value of the application;
  • the modifying unit is further configured to modify an unallocated bandwidth value of the physical port to which the logical port for which the bandwidth reduction is applied belongs to an original unallocated bandwidth value plus a bandwidth value reduced by the application;
  • the first sending unit is further configured to send a bandwidth reduction success response to the service application device, where the bandwidth reduction success response carries the identifier of the logical port that requests the reduced bandwidth and the reduced bandwidth value.
  • the first receiving unit is further configured to receive a bandwidth release request sent by the service application device, where the bandwidth release request carries a logical port identifier that is applied for release;
  • the allocating unit is further configured to release the logical port released by the application according to the logical port identifier released by the application;
  • the modifying unit is further configured to modify the unallocated bandwidth under the physical port to which the logical port that is requested to be released belongs to the sum of the original unallocated bandwidth value and the bandwidth value of the logical port to be released, and modify the release of the application.
  • the status of the logical port is unassigned, and the bandwidth value of the logical port that is requested to be released is zero;
  • the first sending unit is further configured to send a bandwidth release success response to the service application device, where the bandwidth release success response carries an identifier of the logical port released by the application.
  • a fourth aspect of the present invention provides a service application apparatus, including:
  • a second sending unit configured to send a bandwidth request to the master baseband processing unit BBU in the resource pool according to the data transmission service requirement, where the bandwidth request carries the bandwidth value of the application; and the second receiving unit is configured to receive the main Controlling, by the BBU, a bandwidth request response, where the bandwidth request response carries an identifier of a logical port allocated by the master BBU to be unassigned, and a bandwidth value allocated for the unassigned logical port.
  • a transmitting unit configured to perform data transmission by using the logical port that is used by the second receiving unit to be an unassigned logical port.
  • the second receiving unit is configured to receive a bandwidth response sent by the master BBU, where the bandwidth response carries an identifier of a logical port that is not allocated on the specified BBU that is allocated by the master BBU. a bandwidth value allocated for the unassigned logical port in the usage state;
  • the transmitting unit is configured to perform data transmission by using the unused logical port on the specified BBU received by the second receiving unit.
  • the bandwidth request is further Carry the identifier of the specified physical port
  • the second receiving unit is configured to receive a bandwidth response sent by the master BBU, where the bandwidth response carries an identifier of the unassigned logical port in the specified physical port allocated by the master BBU. And a bandwidth value allocated for the unassigned logical port in the use state;
  • the transmitting unit is configured to perform data transmission by using the logical port that is not allocated by using the specified physical port that is received by the second receiving unit.
  • the second sending unit is further configured to send a bandwidth increase request to the service application device, where the bandwidth increase request carries a logical port identifier that applies for increasing bandwidth and a bandwidth value that is requested to be added;
  • the second receiving unit is further configured to receive a bandwidth increase success response sent by the master control BBU, where the bandwidth increase success response carries the identifier of the logical port that requests the increased bandwidth and the updated bandwidth value. ;
  • the transmission unit is further configured to increase the bandwidth of the logical port for data transmission by using the application after the update bandwidth value.
  • the second sending unit is further configured to send a bandwidth reduction request to the service application device, where the bandwidth reduction request carries a logical port identifier for requesting a reduced bandwidth and a bandwidth value for which the application is reduced;
  • the second receiving unit is further configured to receive a response that the bandwidth reduction succeeded by the master BBU, where the bandwidth reduction success response carries the identifier of the logical port that requests the bandwidth reduction and the reduced bandwidth.
  • the transmission unit is further configured to perform data transmission by using the reduced bandwidth logical port after the bandwidth reduction value is applied.
  • the second sending unit is further configured to send a bandwidth release request to the service application device, where the bandwidth release request carries a logical port identifier that is requested to be released, so that the master control
  • the BBU releases the logical port released by the application
  • the second receiving unit is further configured to receive a response that the bandwidth release of the master BBU is successfully released, where the bandwidth release success response carries a logical port of the application release, and the fifth aspect of the invention provides a transmission bandwidth.
  • the control system includes: at least one resource pool, each resource pool includes multiple BBUs and multiple service application devices, wherein one BBU is the master BBU, and the other BBUs that the non-master BBU reports to the master BBU And an identifier of a physical port associated with the identifier of the local BBU and an identifier of a logical port associated with the identifier of the physical port, and usage status information of each physical port and a total bandwidth value of each physical port and each The total number of logical ports on a physical port; each BBU contains at least one physical port, and one physical port can belong to only one resource pool;
  • the master BBU is the BBU described in the foregoing technical solution
  • the service application device is the service application device described in the above technical solution.
  • the embodiment of the present invention is configured to receive and associate an identifier of a physical port in the local BBU reported by each BBU in the same resource pool, and an identifier of a logical port associated with the identifier of the physical port, and the physical port.
  • the method for controlling the transmission bandwidth may be based on a service application, as compared with the method of dynamically allocating bandwidth according to the service requirement in the prior art.
  • FIG. 1 is a schematic diagram of an embodiment of a method for controlling transmission bandwidth in an embodiment of the present invention
  • FIG. 2 is a schematic diagram of another embodiment of a method for controlling transmission bandwidth according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of an embodiment of a BBU in an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of another embodiment of a BBU in an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of an embodiment of a service application device according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of another embodiment of a BBU according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of another embodiment of a service application device according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of an embodiment of a system in an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of another embodiment of a system in an embodiment of the present invention. detailed description
  • the embodiment of the invention provides a control method for the transmission bandwidth, which can dynamically use the system bandwidth according to the actual service requirements of the service application, reduce manual planning and manual configuration, and does not need to follow the bandwidth demand of different service applications. Plan the maximum amount of bandwidth required for each business application to increase system bandwidth utilization.
  • the embodiments of the present invention also provide corresponding devices and systems. The details are described below separately.
  • the baseband processing unit (BBU) in the embodiment of the present invention is a physical device in the base station, including a main control board, a transmission board, etc.
  • the service application device is a function module in the system that needs to use bandwidth resources, and itself Can be dynamically deleted and created as needed.
  • an embodiment of a method for controlling transmission bandwidth provided by an embodiment of the present invention includes:
  • the master BBU receives and associates the identifier of the physical port in the BBU and the identifier of the logical port associated with the identifier of the physical port that is reported by the BBU of each baseband processing unit in the same resource pool, and the physical port. Usage status information, usage status information of the logical port, unallocated bandwidth value under the physical port, and number of unallocated logical ports under the physical port.
  • the BBU reports the total bandwidth of the physical port and the total number of logical ports on the physical port.
  • the unallocated bandwidth of all physical ports in the storage resource pool is the total bandwidth of the physical port
  • the number of unassigned logical ports for all physical ports in the storage resource pool is the total number of logical ports for the physical port.
  • the status of all logical ports in the storage resource pool is unassigned and the bandwidth value is 0.
  • a resource pool is composed of multiple BBUs. You can configure one BBU in the resource pool as the master BBU in the resource pool. You can also allow a BBU in a resource pool to compete to generate a master BBU.
  • the other BBUs are non-master BBUs, and the master BBUs and the non-master BBUs can communicate. Each non-master BBU will identify the physical port of the BBU and the physical port. An identifier of the associated logical port, usage status information of the physical port, usage status information of the logical port, unallocated bandwidth value under the physical port, and number of unallocated logical ports under the physical port Reported to the master BBU.
  • a BBU with multiple physical ports can belong to two or more resource pools, but each physical port on the B B U can belong to only one resource pool.
  • Each BBU has at least one physical port, and each physical port has a corresponding bandwidth value, such as 10M/100M/1000M.
  • the default bandwidth value of the logical port is 0, which can be allocated to the service application device after configuring a certain bandwidth value for the logical port.
  • the total bandwidth of all logical ports on a physical port cannot generally exceed the bandwidth of this physical port.
  • the identifier of each physical port and the identifier of each logical port are unique.
  • a resource pool can have two tables; one is a table of physical ports, and one is a table of logical ports: Table 1: Table of physical ports
  • the master BBU receives a bandwidth request of the service application device, where the bandwidth request carries a bandwidth value that is requested by the service application device.
  • the bandwidth request is sent to the master BBU, and the bandwidth value of the application in the bandwidth request is 20 ⁇ .
  • the main control BBU selects, according to the bandwidth value of the application, that the service application device selects the usage status from all the physical ports of the same resource pool, and the unallocated bandwidth is not less than the bandwidth value of the application, and A physical port whose number of logical ports is greater than 0 is allocated, and a logical port whose usage status is unassigned is assigned, and the bandwidth value of the unassigned logical port is set to the bandwidth value of the application. .
  • the master BBU can select the physical port status of any BBU in the resource pool to be available, the physical port has no allocated bandwidth of not less than 20 ⁇ , and the physical port with no logical port number greater than 0 is allocated. .
  • the algorithm for selecting a physical port includes, for a bandwidth application of a service application device, preferentially selecting a physical port that has the most unallocated bandwidth, or selecting a physical port that satisfies the minimum unallocated bandwidth requested.
  • the main control BBU sends a bandwidth request response to the service application device, where the bandwidth request response carries the identifier of the logical port whose usage status is unallocated and the bandwidth allocated for the unassigned logical port. a value, such that the service application device performs data transmission using the use state as an unallocated logical port.
  • the bandwidth request response is carried in the bandwidth request response.
  • the logical port is identified by a 1-1-1 and a 20-inch bandwidth value, so that the service application device obtains the bandwidth value of the logical port, and the service application device can use the 1-1-1 logical port for data transmission.
  • the embodiment of the present invention is configured to receive and associate an identifier of a physical port in the local BBU reported by each BBU in the same resource pool, and an identifier of a logical port associated with the identifier of the physical port, and the physical port.
  • a physical port that has a logical port number greater than 0, and a physical port under the physical port is assigned an unassigned logical port, and And setting a bandwidth value of the unassigned logical port to the bandwidth value of the application; sending a bandwidth request response to the service application device, where the bandwidth request response carries the logical port that is not allocated.
  • the identifier and the bandwidth value allocated for the unassigned logical port are used to enable the service application device to use the unused logical port for data transmission.
  • the method for controlling the transmission bandwidth provided by the embodiment of the present invention can dynamically use the system bandwidth according to the actual service requirement of the service application, thereby reducing manual planning and manual configuration, and When the bandwidth requirements of different service applications are tidal, it is not necessary to plan according to the maximum amount of bandwidth required for each service application, thereby improving the utilization of system bandwidth.
  • the foregoing optional embodiment of the method for controlling the transmission bandwidth provided by the embodiment of the present invention may further include:
  • the bandwidth request further includes an identifier of the BBU specified by the service application device, where the service application device selects a usage state from all physical ports of the same resource pool as available according to the bandwidth value of the application.
  • the unallocated bandwidth is not less than the bandwidth value of the application, and one physical port whose logical port number is greater than 0 is not allocated, and a usage state under the physical port is an unassigned logical port, and the usage state is set to
  • the bandwidth value of the unassigned logical port is the bandwidth value of the application, and may include:
  • the BBU when the non-master BBU reports the information to the master BBU, the BBU can also report the identity of the BBU.
  • the master BBU identifies the non-master BBU and the corresponding physical port reported by the non-master BBU. Identifies the associated store. For example, the BBU1 is associated with the identifier 1-1 of the physical port under BBU1.
  • the service application device specifies the BBU that applies for the bandwidth
  • the master BBU preferentially allocates the bandwidth required by the service application device from the designated BBU according to the requirements of the service application device, if the physical application device specifies that the BBU has multiple physical ports.
  • the master BBU allocates a logical port with an unassigned status status from an available physical port on BBU1.
  • the service application device may be associated with the association table of the identifiers stored in the master BBU, such as Table 1 and Table 2.
  • the master BBU actively sends the information reported by other BBUs to the service application device.
  • the service application device may also be sent to the service application device after the service application device requests, and the service application device may also obtain the association of the above identifier by other means,
  • the bandwidth request further includes the service application device designation.
  • the unallocated bandwidth is not less than the bandwidth value of the application, and the unallocated logic
  • a physical port with a port number greater than 0, a logical port whose usage status is unassigned, and a bandwidth value of the unassigned logical port is set to the bandwidth value of the application, which may include :
  • the master BBU determines that the unallocated bandwidth of the designated physical port is not less than the bandwidth value of the application, and the unassigned physical port is not allocated. If the number of logical ports is greater than 0, a logical port whose usage status is unassigned is selected from the specified physical port, and the bandwidth value is set to the unassigned logical port.
  • the unallocated bandwidth on the physical port 1-1 is greater than or equal to 20 M, and the physical port 1
  • the master BBU can select a logical port 1-1-1 under the physical port 1-1 to provide bandwidth for the service application device, and give the logical port 1 -1-1 sets the bandwidth of 20M.
  • the third optional embodiment of the method for controlling the transmission bandwidth provided by the embodiment of the present invention may further include:
  • Modifying the unallocated bandwidth value of the physical port to which the unassigned logical port belongs is the original unallocated bandwidth value minus the bandwidth value of the application;
  • the number of the unassigned logical ports under the physical port to which the unassigned logical port belongs is modified to be the original unallocated logical port number minus one.
  • the master BBU sets the logical port state to be allocated, and uses the used state as the unallocated physical port to which the unassigned logical port belongs.
  • the bandwidth value is the original unallocated bandwidth value minus the bandwidth value of the application, and the number of the unallocated logical ports under the physical port to which the unassigned logical port belongs is the original unallocated logical port number minus 1.
  • the master BBU allocates the service port under the physical port 1-1 to the unassigned logical port 1-1-1 and sets the bandwidth of the logical port 1-1-1 to 20 ⁇
  • the fourth optional embodiment of the method for controlling transmission bandwidth provided by the embodiment of the present invention further includes:
  • the association stores an identifier of the service application device, an identifier of a logical port that has been allocated to the service application device, and a bandwidth value corresponding to the allocated logical port.
  • the master BBU records and associates the identifier of the service application device with the identifier of the logical port assigned to the service application device and the bandwidth value corresponding to the identifier of the logical port, so that when the service application device When applying for bandwidth, it can be judged whether the total application amount of the service application device exceeds the bandwidth application upper limit. If the upper limit of the bandwidth application is 100M, the master BBU will only allocate a bandwidth of no more than 100M to the service application device. When the application volume of the service application device is greater than 100M, the master BBU will reject the application of the service application device. When the application amount of the service application device is not more than 100M, the master BBU allocates bandwidth to the service application device. In a fifth alternative embodiment of the method for controlling transmission bandwidth provided by the embodiment of the present invention, based on the fourth optional embodiment corresponding to FIG.
  • the service application device selects a usage state from all physical ports of the same resource pool as available according to the bandwidth value of the application, and the unallocated bandwidth is not available.
  • the bandwidth value is the bandwidth value of the application, and may include:
  • the bandwidth value of the application is that the service application device selects the usage status from all the physical ports of the same resource pool as available, the unallocated bandwidth is not less than the bandwidth value of the application, and the number of unallocated logical ports is greater than 0.
  • a physical port is assigned a logical port that is not assigned to the physical port, and the bandwidth value of the unassigned logical port is set to the bandwidth value of the application.
  • the bandwidth of the service application device when the service application device has an upper limit of the bandwidth application, for example, if the bandwidth application upper limit is 100M, the bandwidth of the service application device can not exceed 100M, and the main control BBU only allocates the service application device no more than 100M bandwidth.
  • the sixth optional embodiment of the method for controlling the transmission bandwidth provided by the embodiment of the present invention may further include:
  • bandwidth increase request sent by the service application device, where the bandwidth increase request carries a logical port identifier for applying for increasing bandwidth and an increased bandwidth value of the application;
  • the logical port identifier of the bandwidth is increased, and the increased bandwidth value is applied, and the unallocated bandwidth under the physical port to which the logical port to which the bandwidth is added is not less than the bandwidth value added by the application, and is originally the
  • the bandwidth value of the logical port that requests the increased bandwidth is updated to be the logical port of the application to increase the bandwidth. The sum of the allocated bandwidth value and the increased bandwidth value of the application;
  • the unallocated bandwidth value of the physical port to which the logical port to which the application increases the bandwidth belongs is the original unallocated bandwidth value minus the bandwidth value added by the application;
  • the bandwidth requirement of the service application device is increased, so that the service application device may send a bandwidth increase request to the master BBU, where the bandwidth increase request carries a logical port that applies for increasing bandwidth. Identifies and applies the added bandwidth value; for example, the service application device has applied for 20M bandwidth, which is the 20M bandwidth provided by the logical port 1-1-1 of the BBU1 for the service application device.
  • the master BBU receives the bandwidth.
  • the master BBU can modify the bandwidth value of the 1-1-1 logical port of BBU1, and the 1-1-1 logical port is modified. The bandwidth value is modified to 40M.
  • the bandwidth is 40M, so that the service application device can use the logical port 1-1-1 to transmit 40M bandwidth services.
  • the seventh optional embodiment of the method for controlling transmission bandwidth provided by the embodiment of the present invention is further provided on the basis of any one of the third to sixth alternative embodiments of FIG. Can include:
  • bandwidth reduction request carries a logical port identifier for requesting bandwidth reduction and a bandwidth value for requesting reduction
  • the unallocated bandwidth value of the port is the original unallocated bandwidth value plus the reduced bandwidth value of the application;
  • the service application device when the data transmission service is reduced, when the bandwidth applied by the service application device is not used, the service application device may apply to the master BBU to reduce the bandwidth, so that other data services in need use the reduced bandwidth. To increase the utilization of bandwidth.
  • the service application device may send the bandwidth reduction to the master BBU.
  • the request the bandwidth reduction request carries the identifier of the logical port 1-1-1, and applies for the reduced bandwidth value of 20 ⁇ .
  • the master BBU reduces the bandwidth value of 20 ⁇ according to the application carried in the bandwidth reduction request.
  • the 20-inch bandwidth under the logical port 1-1-1 originally used by the service application device is recovered, and the logical port 1-1-1 has 30 ⁇ bandwidth for the service application to use.
  • the unallocated bandwidth of the physical port 1-1 to which the logical port 1-1-1 belongs is 200 ⁇
  • the service is The application device transmits a bandwidth-reducing successful response that carries the logical port 1-1-1 and the remaining 30-inch bandwidth value after the successful response.
  • An eighth alternative embodiment of the method for controlling transmission bandwidth provided by the embodiment of the present invention is further provided on the basis of any one of the foregoing third embodiment to the seventh optional embodiment.
  • Can include:
  • the unallocated bandwidth of the physical port to which the logical port that is released by the application is modified is the sum of the original unallocated bandwidth value and the bandwidth value of the logical port that is requested to be released;
  • FIG. 2 another embodiment of a method for controlling transmission bandwidth provided by an embodiment of the present invention is provided. Includes:
  • the service application device sends a bandwidth request to the master baseband processing unit BBU in the resource pool according to the data transmission service requirement, where the bandwidth request carries the bandwidth value of the application.
  • a resource pool is composed of multiple BBUs. You can configure one BBU in the resource pool as the master BBU in the resource pool. You can also allow a BBU in a resource pool to compete to generate a master BBU.
  • the other BBUs are non-master BBUs, and the master BBUs and the non-master BBUs can communicate. Each non-master BBU will identify the physical port of the BBU and the physical port. An identifier of the associated logical port, usage status information of the physical port, usage status information of the logical port, unallocated bandwidth value under the physical port, and number of unallocated logical ports under the physical port Reported to the master BBU.
  • a BBU with multiple physical ports can belong to two or more resource pools, but each physical port on the B B U can belong to only one resource pool.
  • Each BBU has at least one physical port, and each physical port has a corresponding bandwidth value, such as 10M/100M/1000M.
  • the identifier of each BBU, the identifier of each physical port, and the identifier of each logical port are unique.
  • the service application device receives a bandwidth request response sent by the master control BBU, where the bandwidth request response carries an identifier of a logical port that is allocated by the master BBU, and is an unassigned logical port. The bandwidth value assigned by the logical port.
  • the service application device uses the logical port that uses the unassigned state to perform data transmission.
  • the logical port is allocated by the main control BBU to the service application device, and the service application device uses the bandwidth of the corresponding bandwidth value under which logical port to transmit data.
  • a bandwidth request is sent to the primary control baseband processing unit BBU in the resource pool according to the data transmission service requirement, where the bandwidth request carries the bandwidth value of the application, and receives the bandwidth request response sent by the master control BBU.
  • the bandwidth request response carries an identifier of a logical port that is allocated by the master BBU and is an unassigned logical port, and is used as the usage state.
  • a bandwidth value assigned to an unassigned logical port; data usage is used for the unassigned logical port.
  • the assigned bandwidth value can include:
  • the using the usage status as an unallocated logical port for data transmission may include:
  • the data transfer is performed using the use state on the specified BBU as an unallocated logical port.
  • the service application device may associate the associations before the identifiers stored in the master BBU, as shown in Table 1 and Table 2, and the master BBU will actively report the information reported by other BBUs.
  • the service application device may be sent to the service application device after the service application device requests the service application device, and the service application device may obtain the association information identified by the foregoing manner.
  • the service application device can specify which BBU to apply for bandwidth.
  • the service application device specifies the BBU that applies for the bandwidth
  • the master BBU preferentially allocates the BBU according to the requirements of the service application device. The bandwidth required by the service application device. If the BBUs specified by the service application device have multiple physical ports that belong to the resource pool, you can select a logical port whose usage status is unused from an available physical port of the specified BBU.
  • the master BBU allocates an unused logical port 1-1-1 from BBU1 and sets the logical port 1-1-1 bandwidth value to 20M for use by business applications.
  • the bandwidth request is further carried in the bandwidth request.
  • the assigned bandwidth value can include:
  • the using the usage status as an unallocated logical port for data transmission may include:
  • the use state under the specified physical port is an unallocated logical port for data transmission.
  • the service application device may directly specify which physical port to provide the bandwidth.
  • the service application device specifies that the 1-1 physical port under the BBU1 provides 20 M bandwidth for data transmission, when the physical port 1 If the unallocated bandwidth of 1 is greater than or equal to 20M, and the physical port 1-1 has an unassigned logical port, the master BBU can select the unused logical port 1-1- under the physical port 1-1. 1 Provide bandwidth for the service application device, and set the bandwidth value of the logical port 1-1-1 to 20M.
  • the third optional implementation of the method for controlling transmission bandwidth provided by the embodiment of the present invention is provided.
  • Examples can also include:
  • bandwidth increase request sent to the service application device, where the bandwidth increase request carries a logical port identifier for applying for increasing bandwidth and an increased bandwidth value of the application;
  • bandwidth increase success response carries an identifier of the logical port that requests the increased bandwidth and the updated bandwidth value
  • the data transmission is performed by using the logical port of the application that increases the bandwidth after the update of the bandwidth value.
  • the service application device when the data service is increased, the service application device increases the bandwidth requirement, so that the service application device can send a bandwidth increase request to the master BBU, and the bandwidth increase request carries the logical port identifier of the application for increasing the bandwidth. Apply for an increased bandwidth value.
  • the service application device has applied for 20M bandwidth, which is the bandwidth provided by the logical port 1-1-1 of the BBU1 for the service application device.
  • 20M bandwidth is the bandwidth provided by the logical port 1-1-1 of the BBU1 for the service application device.
  • the master BBU receives the bandwidth
  • the master BBU determines that the unallocated bandwidth of the physical port 1-1 to which the logical port 1-1-1 belongs is greater than or equal to 20 , the service application.
  • the master BBU can set the bandwidth value of the 1-1-1 logical port of BBU1 to 40 ⁇ . .
  • the bandwidth increase success response carries the identity of the logical port 1-1-1 and the updated bandwidth value 40 ⁇ . After receiving the bandwidth increase success response, the service application device can directly transmit the data of 40 ⁇ bandwidth using the logical port 1-1-1.
  • the fourth optional implementation of the method for controlling transmission bandwidth provided by the embodiment of the present invention is provided.
  • Examples can also include:
  • bandwidth reduction request carries a logical port identifier for requesting bandwidth reduction and a bandwidth value for requesting reduction
  • bandwidth reduction success response carries the identifier of the logical port that requests the bandwidth reduction and the reduced bandwidth value
  • the data transmission is performed by using the logical port of the reduced bandwidth after the bandwidth reduction value is applied.
  • the service application device when the service of the service application device is reduced, the service application device sends a bandwidth reduction request to the master BBU, and the bandwidth reduction request carries the logical port identifier for applying the reduced bandwidth and the bandwidth value for requesting the reduction, so that the master control
  • the BBU can reduce the bandwidth value of the application under the logical port of the application for reducing bandwidth.
  • the master BBU can adjust the wide attribute value of the logical port 1-1-1 to 30 ⁇ . Then the bandwidth reduction success response carries the identity of the logical port 1-1-1 and the 30 ⁇ bandwidth value.
  • the service application device After receiving the successful response of the bandwidth reduction, the service application device can use the logical port 1-1-1 to transmit 30 ⁇ of the bandwidth service.
  • the fifth optional implementation of the control method of the transmission bandwidth provided by the embodiment of the present invention is provided on the basis of the first or the second optional embodiment corresponding to the embodiment of FIG. Examples can also include:
  • the bandwidth release success response carries an identifier of the logical port released by the application.
  • the service application device when the service of the service application device is completed, the service application device sends a bandwidth release request to the master BBU, and the master BBU releases the originally used logical port 1-1- according to the request of the service application device. 1. Set the bandwidth value of logical port 1-1-1 to 0.
  • BBU1, BBU2, and BBU3 There are three BBUs in the resource pool, which are BBU1, BBU2, and BBU3. In addition, there are only one physical port in BBU1, BBU2, and BBU3. Of course, this application scenario is only an example. In fact, there will be one resource pool. For more BBUs, there will be multiple physical ports on each BBU.
  • the total transmission resources in the resource pool can be understood by referring to Table 3:
  • Logic belongs to the city width state service port port physical ( ⁇ ) with the identification port
  • BBU1 is 100M
  • BBU2 is 100M
  • BBU3 is 1000M
  • BBU2 is set as the master of resource pool.
  • the BBU is responsible for managing all physical port resources in the resource pool and processing the bandwidth request of the service device.
  • the business application device APP1 applies for the 50M bandwidth of the BBU1 to the BBU2, and the BBU2 checks that the 50M does not exceed the bandwidth application limit of the APP1, and the BBU2 allocates the physical port 1-1 on the BBU1 to the unallocated logical port 1-1-1. Set the bandwidth value of logical port 1-1-1 to 50M and return the allocation result to APP1.
  • the service application device APP1 applies for the addition of 50M bandwidth to the BBU2, and the application has the logical port identifier 1-1-1.
  • the bandwidth of the used logical port of the BBU2 to view APP1 is 50M plus the newly applied 50M.
  • APP1 applies for 100M bandwidth again, the master BBU2 checks that the logical port bandwidth used by APP1 is 100M+50M, and if the applied 100M is greater than the bandwidth request limit of APP1 of 200M, BBU2 will return the application failure and give the reason for the failure.
  • APP1 The transmission resources that can be used after application can be understood by referring to Table 5:
  • Table 7 Logical port information in the resource pool after APP 1 application logically belongs to ⁇ 5 1 wide state service should port physical ( ⁇ ) identify the port with the identifier
  • the master BBU2 allocates the unconfigured logical port 2-1-2 on the physical port 2-1, and sets the bandwidth value of the logical port 2-1-2 to 50M, and returns an application response to APP2.
  • APP2 can apply for a new 50M bandwidth, or apply for a bandwidth of 50M for logical port 2-1-2. In this example, applying for adding 50M bandwidth of logical port 2-1-2 will fail because of logic.
  • the unallocated bandwidth on physical port 2-1 to which port 2-1-2 belongs is 0.
  • the BBU provided by the embodiment of the present invention is a master BBU of multiple BBUs in a resource pool, and an embodiment of the BBU includes:
  • the first receiving unit 301 is configured to: identify, by the physical port of the local BBU, and the identifier of the logical port associated with the identifier of the physical port, and the physical port of the physical port, where the BBU is reported by each of the baseband processing units Using status information, usage status information of the logical port, an unallocated bandwidth value under the physical port, and an unassigned logical port number under the physical port;
  • the association storage unit 302 is configured to associate with the identifier of the physical port in the local BBU reported by each baseband processing unit BBU in the same resource pool that is received by the first receiving unit 301, and the identifier associated with the physical port identifier.
  • the first receiving unit 301 is further configured to receive a bandwidth request of the service application device, where the bandwidth request carries a bandwidth value requested by the service application device;
  • the allocating unit 303 is configured to select, according to the bandwidth value of the application received by the first receiving unit 301, that the service application device selects the usage status from all the physical ports of the same resource pool as available, unallocated
  • the bandwidth is not less than the bandwidth value of the application, and is not divided A physical port with a logical port number greater than 0, a logical port whose usage status is unassigned, and a bandwidth value of the unassigned logical port is set to the bandwidth value of the application;
  • the first sending unit 304 is configured to send a bandwidth request response to the service application device, where the bandwidth request response carries the identifier of the unassigned logical port and the unassigned logical port.
  • the allocated bandwidth value is such that the service application device uses the logical state of the unassigned logical port for data transmission.
  • the first receiving unit 301 receives the identifier of the physical port in the BBU and the identifier of the logical port associated with the identifier of the physical port, and the identifier of the physical port that is reported by the BBU in each of the same resource pools.
  • the first sending unit 304 sends a bandwidth request response to the service application device, where the bandwidth request response carries the identifier of the logical port whose usage status is unallocated and the usage status is The bandwidth value of the unallocated logical port allocation, so that the service application device uses the used state as an unallocated logical port for data transmission.
  • the BBU provided by the embodiment of the present invention can dynamically control bandwidth, thereby improving bandwidth utilization.
  • the embodiment of the present invention provides a first optional embodiment of the BBU.
  • the first receiving unit 301 is further configured to receive an identifier of the local BBU reported by each BBU;
  • the association storage unit 302 is further configured to store the identifier of the local BBU received by the first receiving unit 301 in association with the identifier of the physical port in the local BBU;
  • the bandwidth request further includes an identifier of the BBU specified by the service application device, where the allocation unit 303 is configured to use, according to the identifier of the specified BBU and the bandwidth value of the application, the service application device.
  • the selected use state of the physical port in the specified BBU is available, the unallocated bandwidth is not less than the bandwidth value of the application, and a physical port whose number of logical ports is greater than 0 is allocated, and a usage state under the physical port is allocated. It is an unassigned logical port, and the bandwidth value of the unassigned logical port is set to the bandwidth value of the application.
  • the embodiment of the present invention provides a second optional embodiment of the BBU, where the bandwidth request further carries an identifier of a physical port specified by the service application device;
  • the allocating unit 303 is configured to: according to the identifier of the specified physical port and the bandwidth value of the application, an unallocated bandwidth of the specified physical port of the service application device is not less than a bandwidth value of the application. And if the number of unassigned logical ports under the specified physical port is greater than 0, assign a logical port whose usage status is unassigned, and set the bandwidth value of the unassigned logical port to be used. The bandwidth value of the application.
  • the third optional embodiment provided by the embodiment of the present invention further includes:
  • a setting unit 305 configured to allocate the allocation unit 303 to the service application device, wherein the usage status of the unassigned logical port is set to be allocated;
  • the modifying unit 306 is configured to modify the unallocated bandwidth value of the physical port to which the unassigned logical port belongs to the original unallocated bandwidth value minus the bandwidth value of the application; and modify the usage status to be unallocated
  • the number of unallocated logical ports under the physical port to which the logical port belongs is the number of original unallocated logical ports minus one.
  • the association storage unit 302 is further configured to associate an identifier of the service application device, an identifier of a logical port that has been allocated to the service application device, and a total bandwidth value.
  • the allocating unit 303 is configured to determine that a bandwidth value of the application is not greater than the bandwidth application upper limit, and a sum of a bandwidth value of the application and a bandwidth of all logical ports used by the service application device is not greater than the
  • the bandwidth application is the upper limit
  • the service application device selects the usage status from all physical ports of the same resource pool as available according to the bandwidth value of the application, and the unallocated bandwidth is not less than the bandwidth value of the application, and A physical port whose number of logical ports is greater than 0 is allocated, and a logical port whose usage status is unassigned is assigned, and the bandwidth value of the unassigned logical port is set to the bandwidth value of the application.
  • the first receiving unit 301 is further configured to receive a bandwidth increase request sent by the service application device, where the bandwidth increase request carries a logical port identifier that applies for increasing bandwidth and a bandwidth value that is requested to be added;
  • the allocating unit 303 is further configured to increase the bandwidth of the logical port identifier and apply for the added bandwidth value according to the application, and the unallocated bandwidth under the physical port to which the logical port to which the bandwidth is added is not less than the application increase.
  • the bandwidth value of the logical port that increases the bandwidth of the application is updated when the bandwidth allocated by the logical port that originally increased the bandwidth of the application and the sum of the application and the bandwidth value are not greater than the bandwidth application upper limit. And the sum of the bandwidth value originally allocated by the logical port of the application for increasing bandwidth and the bandwidth value added by the application;
  • the modifying unit 306 is configured to modify an unallocated bandwidth value of the physical port to which the logical port to which the application increases the bandwidth belongs, and the original unallocated bandwidth value minus the bandwidth value added by the application;
  • the first sending unit 304 is further configured to send a bandwidth increase success response to the service application device, where the bandwidth increase success response carries an identifier of the logical port that requests the increased bandwidth and the updated bandwidth value.
  • the first receiving unit 301 is further configured to receive a bandwidth reduction request sent by the service application device, where the bandwidth reduction request carries a logical port identifier for requesting bandwidth reduction and a bandwidth value for which the application is reduced;
  • the allocating unit 303 is further configured to reduce the logical port identifier of the bandwidth according to the application. And applying the reduced bandwidth value, reducing the bandwidth value of the logical port that requests the bandwidth reduction to reduce the bandwidth value of the application;
  • the modifying unit 306 is further configured to modify an unallocated bandwidth value of the physical port to which the logical port for which the bandwidth reduction is applied belongs to an original unallocated bandwidth value plus a bandwidth value reduced by the application;
  • the first sending unit 304 is further configured to send a bandwidth reduction success response to the service application device, where the bandwidth reduction success response carries the identifier of the logical port that requests the reduced bandwidth and the reduced bandwidth value.
  • the first receiving unit 301 is further configured to receive a bandwidth release request sent by the service application device, where the bandwidth release request carries a logical port identifier that is applied for release;
  • the allocating unit 303 is further configured to release the logical port released by the application according to the logical port identifier released by the application;
  • the modifying unit 306 is further configured to modify the unallocated bandwidth under the physical port to which the logical port to which the application is released is the sum of the original unallocated bandwidth value and the bandwidth value of the logical port to be released, and modify the application release.
  • the status of the logical port is unassigned, and the bandwidth value of the logical port that is requested to be released is zero;
  • the first sending unit 304 is further configured to send a bandwidth release success response to the service application device, where the bandwidth release success response carries an identifier of the logical port released by the application.
  • an embodiment of a service application apparatus includes: a second sending unit 401, configured to send a bandwidth request to a master baseband processing unit BBU in a resource pool according to a data transmission service requirement, where The bandwidth request carries the bandwidth value of the application;
  • the second receiving unit 402 is configured to receive a bandwidth request response sent by the master BBU, where the bandwidth request response carries an identifier of a logical port that is allocated by the master BBU and is an unassigned logical port. a bandwidth value allocated for the unassigned logical port; a transmission unit 403, configured to perform data transmission by using the logical port that is received by the second receiving unit 402 as an unallocated logical port.
  • the second sending unit 401 sends a bandwidth request to the master baseband processing unit BBU in the resource pool according to the data transmission service requirement, where the bandwidth request is carried in the bandwidth request. a bandwidth value of the application; the second receiving unit 402 receives the bandwidth request response sent by the master BBU, and the bandwidth request response carries an identifier of the unassigned logical port that is allocated by the master BBU and is the The bandwidth value allocated by the unassigned logical port is used; the transmission unit 403 uses the logical state that the usage state received by the second receiving unit 402 is an unallocated logical port for data transmission.
  • the service application device provided by the embodiment of the present invention can dynamically apply for adjusting the bandwidth, thereby improving the bandwidth utilization.
  • the second receiving unit 402 is configured to receive a bandwidth response sent by the master control BBU, where the bandwidth response carries an identifier of the unassigned logical port on the specified BBU that is allocated by the master BBU. And a bandwidth value allocated for the unassigned logical port in the use state;
  • the transmitting unit 403 is configured to perform data transmission by using the unassigned logical port on the specified BBU received by the second receiving unit 402.
  • the bandwidth request further carries the identifier of the designated physical port
  • the second receiving unit 402 is configured to receive a bandwidth response sent by the master BBU, where the bandwidth response carries a logical port that is not allocated by the designated physical port allocated by the master BBU. Identifying and assigning a bandwidth value to the unassigned logical port;
  • the transmission unit 403 is configured to perform data transmission by using the logical port that is not allocated by using the specified physical port received by the second receiving unit 402.
  • the second sending unit 401 is further configured to send a bandwidth increase request to the service application device, where the bandwidth increase request carries a logical port identifier that applies for increasing bandwidth and applies for an increased bandwidth value;
  • the second receiving unit 402 is further configured to receive a bandwidth increase success response sent by the master control BBU, where the bandwidth increase success response carries an identifier of the logical port that requests the increased bandwidth and the updated bandwidth. value;
  • the transmitting unit 403 is further configured to perform data transmission by using the logical port that requests the increased bandwidth after updating the bandwidth value.
  • the second sending unit 401 is further configured to send a bandwidth reduction request to the service application device, where the bandwidth reduction request carries a logical port identifier for requesting a reduced bandwidth and a bandwidth value that is requested to be reduced;
  • the second receiving unit 402 is further configured to receive a response that the bandwidth reduction succeeded by the primary control BBU, where the bandwidth reduction success response carries the identifier of the logical port that requests the reduced bandwidth, and the reduced Bandwidth value;
  • the transmitting unit 403 is further configured to perform data transmission by using the logical port that reduces bandwidth by using the reduced bandwidth value.
  • the second sending unit 401 is further configured to send a bandwidth release request to the service application device, where the bandwidth release request carries a logical port identifier that is requested to be released, so that the master control BBU releases the logic for releasing the application.
  • the second receiving unit 402 is further configured to receive a response that the bandwidth release succeeded by the master BBU is successful, and the bandwidth release success response carries an identifier of the logical port that is released by the application.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores a program, and the program includes some or all of the steps of controlling the transmission bandwidth of the main control BBU side.
  • the embodiment of the present invention further provides a computer storage medium storing a program, the program including some or all of the steps of controlling the transmission bandwidth of the service application device side.
  • an embodiment of a BBU includes: a first receiver 310, a first transmitter 320, a first memory 330, and a first processor 340;
  • the first receiver 310, the first transmitter 320, the first memory 330, and the first processor 340 are connected by a bus or other means;
  • the first receiver 310 is configured to receive an identifier of a physical port in the BBU and a standard of the physical port that is reported by each BBU in the same resource pool. And an identifier of the associated logical port, usage status information of the physical port, usage status information of the logical port, an unallocated bandwidth value under the physical port, and an unassigned logical port under the physical port Quantity
  • the first memory 330 is configured to associate and store an identifier of a physical port in the local BBU reported by each BBU in the same resource pool, and an identifier of a logical port associated with the identifier of the physical port, and the identifier Usage status information of the physical port, usage status information of the logical port, an unallocated bandwidth value under the physical port, and an unallocated logical port number under the physical port;
  • the first receiver 310 is configured to receive a bandwidth request of the service application device, where the bandwidth request carries a bandwidth value requested by the service application device;
  • the first processor 340 is configured to select, according to the bandwidth value of the application, that the service application device selects a usage status from all physical ports of the same resource pool, and the unallocated bandwidth is not less than the application.
  • the bandwidth value, and one physical port whose number of logical ports is not greater than 0, allocates a usage port under the physical port to an unassigned logical port, and sets the bandwidth value of the unassigned logical port to be used.
  • the bandwidth value of the application is configured to select, according to the bandwidth value of the application, that the service application device selects a usage status from all physical ports of the same resource pool, and the unallocated bandwidth is not less than the application.
  • the bandwidth value, and one physical port whose number of logical ports is not greater than 0 allocates a usage port under the physical port to an unassigned logical port, and sets the bandwidth value of the unassigned logical port to be used.
  • the first transmitter 320 is configured to send a bandwidth request response to the service application device, where the bandwidth request response carries the identifier of the logical port whose usage status is unallocated and the usage status is unallocated.
  • the bandwidth value assigned by the logical port so that the service application device uses the used state as an unallocated logical port for data transmission.
  • the first receiver 310 is further configured to receive an identifier of the BBU reported by each BBU;
  • the first memory 330 is further configured to store the identifier of the local BBU in association with the identifier of the physical port under the local BBU;
  • the bandwidth request further includes an identifier of the BBU specified by the service application device; the first processor 340, according to the identifier of the specified BBU and the bandwidth value of the application, for the service application device.
  • the selected use state of the physical port in the specified BBU is available, the unallocated bandwidth is not less than the bandwidth value of the application, and a physical port whose number of logical ports is greater than 0 is allocated, and a usage state under the physical port is allocated. It is an unassigned logical port, and the bandwidth value of the unassigned logical port is set to the bandwidth value of the application.
  • the bandwidth request further carries the service application device.
  • the first processor 340 is configured to: according to the identifier of the specified physical port and the bandwidth value of the application, an unallocated bandwidth of the specified physical port of the service application device is not less than the application a bandwidth value, and if the number of unassigned logical ports under the specified physical port is greater than 0, assign a logical port whose usage status is unassigned, and set the bandwidth value of the unassigned logical port.
  • the bandwidth value for the application is configured to: according to the identifier of the specified physical port and the bandwidth value of the application, an unallocated bandwidth of the specified physical port of the service application device is not less than the application a bandwidth value, and if the number of unassigned logical ports under the specified physical port is greater than 0, assign a logical port whose usage status is unassigned, and set the bandwidth value of the unassigned logical port.
  • the bandwidth value for the application is configured to: according to the identifier of the specified physical port and the bandwidth value of the application, an unalloc
  • the first processor 340 is further configured to set a usage status of the unassigned logical port that is allocated to the service application device to be allocated; modify the usage status.
  • the unallocated bandwidth value of the physical port to which the unassigned logical port belongs is the original unallocated bandwidth value minus the bandwidth value of the application; and the modified use state is the un-physical port under which the unassigned logical port belongs
  • the number of assigned logical ports is the number of original unallocated logical ports minus one.
  • the first memory 330 is further configured to associate an identifier of the service application device, an identifier of a logical port that has been allocated to the service application device, and corresponding to the allocated logical port. Bandwidth value.
  • the first processor 340 is further configured to determine that the bandwidth value of the application is not greater than the bandwidth application upper limit, and the application is When the sum of the bandwidth value and the bandwidth of all the logical ports used by the service application device is not greater than the bandwidth application upper limit, according to the bandwidth value of the application, all the physics of the service resource from the same resource pool are The selected usage state of the port is available, the unallocated bandwidth is not less than the bandwidth value of the application, and one physical port whose logical port number is greater than 0 is not allocated, and one usage state under the physical port is allocated as an unallocated logical port. And setting the bandwidth value of the unassigned logical port to be the bandwidth value of the application.
  • the first receiver 310 is further configured to receive a bandwidth increase request sent by the service application device, where the bandwidth increase request carries a logical port identifier that applies for increasing bandwidth, and applies for an increased bandwidth value. ;
  • the first processor 340 is further configured to: add a bandwidth-based logical port identifier according to the application, and apply for an increased bandwidth value, where an unallocated bandwidth under the physical port to which the application-added bandwidth logical port belongs is not less than the Updating the bandwidth of the logical port that requests the increased bandwidth when applying the increased bandwidth value, and the bandwidth allocated by the logical port that originally increased the bandwidth of the application and the sum of the application added to the bandwidth value is not greater than the bandwidth application upper limit.
  • the first transmitter 320 is further configured to send a bandwidth increase success response to the service application device, where the bandwidth increase success response carries an identifier of the logical port that requests the increased bandwidth and the updated bandwidth value.
  • the first receiver 310 is further configured to receive a bandwidth reduction request sent by the service application device, where the bandwidth reduction request carries a logical port identifier that applies for reducing bandwidth and a bandwidth value that is applied for reduction. ;
  • the first processor 340 is further configured to reduce, according to the requesting the reduced logical port identifier of the bandwidth and the requested reduced bandwidth value, the bandwidth value of the logical port that reduces the bandwidth of the application, and the reduced bandwidth value of the application;
  • the unallocated bandwidth value of the physical port to which the logical port for reducing the bandwidth belongs is the original unallocated bandwidth value plus the reduced bandwidth value of the application;
  • the first transmitter 320 is further configured to apply to the service The transmission bandwidth reduction success response, the bandwidth reduction success response carrying the identifier of the logical port that requests the reduced bandwidth and the reduced bandwidth value.
  • the first transmitter 320 is further configured to receive a bandwidth release request sent by the service application device, where the bandwidth release request carries a logical port identifier that is requested to be released; the first processor 340.
  • the LUN is further configured to release the logical port that is released by the application according to the logical port identifier that is released by the application, and modify the unallocated bandwidth under the physical port to which the logical port that the application is released to be the original unallocated bandwidth value and apply for release.
  • the sum of the bandwidth values of the logical ports; the state of the logical port released by the modification is unallocated, and the bandwidth value of the logical port released by the application is set to be zero;
  • the first transmitter 320 is further configured to send a bandwidth release success response to the service application device, where the bandwidth release success response carries an identifier of the logical port released by the application.
  • an embodiment of a service application apparatus includes: a second receiver 410, a second transmitter 420, a second memory 430, and a second processor 440; a second receiver 410, a second The transmitter 420, the second memory 430, and the second processor 440 are connected by a bus or other means.
  • the second transmitter 420 is configured to send a bandwidth request to the primary control baseband processing unit BBU in the resource pool according to the data transmission service requirement, where the bandwidth request carries the bandwidth value of the application;
  • the second receiver 410 is configured to receive a bandwidth request response sent by the master control BBU, where the bandwidth request response carries an identifier of the unassigned logical port that is allocated by the master BBU and is the The bandwidth value assigned by the unassigned logical port is used; the second processor 440 is configured to perform data transmission by using the unused logical port.
  • bandwidth request when the bandwidth request further carries the identifier of the designated BBU,
  • the second receiver 410 is configured to receive a bandwidth response sent by the master BBU, where the bandwidth response carries an identifier of a logical port that is not allocated on the specified BBU that is allocated by the master BBU. And a bandwidth value allocated for the unassigned logical port in the use state;
  • the second processor 440 is configured to perform data transmission for the unallocated logical port by using the usage state on the designated BBU.
  • the bandwidth request further carries an identifier of the designated physical port
  • the second receiver 410 is configured to receive a bandwidth response sent by the master BBU, where the bandwidth response carries a logical port of the designated physical port allocated by the master BBU as an unassigned logical port. Identifying and assigning a bandwidth value to the unassigned logical port;
  • the second processor 440 is configured to perform data transmission by using the used status under the specified physical port as an unallocated logical port.
  • the second transmitter 420 is further configured to send a bandwidth increase request to the service application device, where the bandwidth increase request carries a logical port identifier for applying for increasing bandwidth and an increased bandwidth value of the application. ;
  • the second receiver 410 is further configured to receive a bandwidth increase success response sent by the primary control BBU, where the bandwidth increase success response carries an identifier of the logical port that requests the increased bandwidth and the updated bandwidth.
  • the second processor 440 is further configured to perform data transmission by using the logical port of the application for increasing bandwidth after the update of the bandwidth value.
  • the second transmitter 420 is further configured to send a bandwidth reduction request to the service application device, where the bandwidth reduction request carries a logical port identifier that applies for reducing bandwidth and a bandwidth value that is requested to be reduced;
  • the second receiver 410 is further configured to receive a response of the bandwidth reduction success sent by the master BBU, where the bandwidth reduction success response carries the identifier of the logical port that requests the bandwidth reduction and the reduced Bandwidth value;
  • the second processor 440 is further configured to perform data transmission by using the logical port that reduces the bandwidth after the bandwidth reduction value is applied.
  • the second transmitter 420 is further configured to send a bandwidth release request to the service application device, where the bandwidth release request carries a logical port identifier that is requested to be released, so that the master control BBU Release the logical port released by the application;
  • the second receiver 410 is further configured to receive a response that the bandwidth released by the master BBU is successfully released, where the bandwidth release success response carries an identifier of the logical port released by the application.
  • an embodiment of a transmission bandwidth control system includes at least one resource pool, where each resource pool includes multiple BBUs and multiple service application devices, and one BBU is a main control BBU, and the other
  • each BBU includes at least one physical port, and one physical port can belong to only one resource pool;
  • a BBU can belong to multiple resource pools and the total number of logical ports on each physical port.
  • the master BBU 30 is configured to receive and associate an identifier of a physical port in the local BBU reported by each BBU in the same resource pool, and an identifier of a logical port associated with the identifier of the physical port, and The usage status information of the physical port, the usage status information of the logical port, the unallocated bandwidth value under the physical port, and the number of unassigned logical ports under the physical port; receiving a bandwidth request of the service application device, The bandwidth request carries the bandwidth value of the application; according to the bandwidth value of the application, the service application device selects a usage state from all physical ports of the same resource pool as available, and the unallocated bandwidth is not less than the A bandwidth value that is applied, and a physical port whose number of logical ports is greater than 0 is allocated, a logical port under the physical port is allocated as an unallocated logical port, and the bandwidth value of the unassigned logical port is set.
  • a bandwidth value of the application sending a bandwidth request response to the service application device, in the bandwidth request response
  • the usage state is a logic port identifier unallocated to the usage and status of unallocated The bandwidth value assigned by the logical port, so that the service application device uses the used state as an unallocated logical port for data transmission.
  • the service application device 40 is configured to send a bandwidth request to the master baseband processing unit BBU in the resource pool according to the data transmission service requirement, where the bandwidth request carries the bandwidth value of the application, and receives the bandwidth request response sent by the master control BBU.
  • the bandwidth request response carries an identifier of a logical port allocated by the master BBU as an unallocated logical port and a bandwidth value allocated for the unassigned logical port; the usage state is unallocated Logical port for data transfer.
  • an embodiment of a transmission bandwidth control system includes: multiple BBUs forming a resource pool, BBU and swith switching network communication, BBU, and Radio Remote Unit (RRU) Communication, can be understood as a resource pool composed of multiple BBUs, swith switching network communication, RRU system constitutes a base station cloud system, the base station cloud system communicates with the transmission aggregation device, and the transmission convergence device communicates with the RNC, MME or GW, and the user initiates The data service can be transmitted to the base station cloud system for communication through the RNC, MME or GW.
  • RRU Radio Remote Unit
  • a person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be performed by a program to instruct related hardware.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: ROM, RAM, disk or optical.
  • the control method, device and system for controlling the transmission bandwidth provided by the embodiments of the present invention are described in detail.
  • the principles and embodiments of the present invention are described in the following. The descriptions are only used to help understand the method of the present invention and its core ideas; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in specific embodiments and application scopes. The description is not to be construed as limiting the invention.

Landscapes

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

Abstract

本发明公开了一种传输带宽的控制方法,包括:接收业务应用装置的带宽请求,所述带宽请求中携带申请的带宽值;根据所述申请的带宽值,为所述业务应用装置从所述同一资源池的所有物理端口中选择使用状态为可用,未分配的带宽不小于所述申请的带宽值,并且未分配逻辑端口数大于0的一个物理端口,分配该物理端口下的一个使用状态为未分配的逻辑端口,并设置所述使用状态为未分配的逻辑端口的带宽值为所述申请的带宽值。本发明技术方案由于可以根据业务应用的实际业务需求,动态使用系统带宽,从而提高系统带宽的利用率。

Description

一种传输带宽的控制方法、 装置及系统 本申请要求于 2013 年 4 月 18 曰提交的中国申请号为 201310135180. X、 发明名称为" 一种传输带宽的控制方法、 装置及系 统" 的中国申请的优先权,其全部内容通过引用结合在本申请中。 技术领域
本发明涉及通信技术领域,具体涉及一种传输带宽的控制方法、 装置及系统。 背景技术
现有基站一般包含一个到两个室内基带处理单元 ( Building BaseBand Unit , BBU ) ,基站使用 BBU上的物理端口进行数据传输。
为了实现不同的业务应用使用同一物理端口带宽时的独立控制 , 在物理端口上创建多个逻辑端口 , 为每个逻辑端口设置带宽,不同的业 务应用使用不同的逻辑端口 , 实现不同业务应用使用带宽的控制 ,避免 多个业务应用对同一物理端口上的带宽资源争抢。 在对现有技术的研究 和实践过程中 ,本发明的发明人发现,现有基站对物理端口的共享是通 过人工预先配置逻辑端口实现的 ,在 BBU 规模和应用规模较大的情况 下,人工配置的工作量较大,且需要预先估计不同应用所需要的带宽量, 该带宽量需要按照应用可能需要的最大值来进行规划 ,在不同应用对带 宽需求有潮汐现象时,会造成端口带宽资源的浪费。
发 明 内 容
本发明实施例提供一种传输带宽的控制方法 ,可以根据业务应用 的实际业务需求,动态使用系统带宽,減少人工规划和人工配置,且在 不同业务应用对带宽需求有潮汐现象时,不需要按照每个业务应用所需 的最大带宽量进行规划 ,从而提高系统带宽的利用率。 本发明实施例还 提供了相应的装置及系统。
本发明第一方面提供一种传输带宽的控制方法,包括:
接收并关联存储同一资源池中的每个基带处理单元 BBU上报的本 B B U下的物理端口的标识和与所述物理端口的标识关联的逻辑端口的标 识,以及所述物理端口的使用状态信息、 所述逻辑端口的使用状态信息、 所述物理端口下未分配的带宽值和所述物理端口下的未分配的逻辑端口 的数量;
接收业务应用装置的带宽请求, 所述带宽请求中携带申请的带宽 值;
根据所述申请的带宽值 , 为所述业务应用装置从所述同一资源池 的所有物理端口中选择使用状态为可用 ,未分配的带宽不小于所述申请 的带宽值,并且未分配逻辑端口数大于 0的一个物理端口 ,分配该物理 端口下的一个使用状态为未分配的逻辑端口 ,并设置所述使用状态为未 分配的逻辑端口的带宽值为所述申请的带宽值;
向所述业务应用装置发送带宽请求响应 ,所述带宽请求响应中携 带所述使用状态为未分配的逻辑端口的标识和为所述使用状态为未分配 的逻辑端口分配的带宽值, 以使所述业务应用装置使用所述使用状态为 未分配的逻辑端口进行数据传输。
结合第一方面,在第一种可能的实现方式中 ,所述方法还包括: 接收所述每个 BBU上报的本 BBU的标识,并将所述本 BBU的标 识与所述本 BBU下的物理端口的标识关联存储;
所述带宽请求中还携带所述业务应用装置指定的 BBU的标识; 所述根据所述申请的带宽值 , 为所述业务应用装置从所述同一资 源池的所有物理端口中选择使用状态为可用 ,未分配的带宽不小于所述 申请的带宽值,并且未分配逻辑端口数大于 0的一个物理端口 ,分配该 物理端口下的一个使用状态为未分配的逻辑端口 ,并设置所述使用状态 为未分配的逻辑端口的带宽值为所述申请的带宽值,包括:
根据所述指定的 BBU的标识和所述申请的带宽值,为所述业务应 用装置从所述指定的 BBU下的物理端口中选择使用状态为可用 ,未分配 的带宽不小于所述申请的带宽值,并且未分配逻辑端口数大于 0的一个 物理端口 ,分配该物理端口下的一个使用状态为未分配的逻辑端口 ,并 设置所述使用状态为未分配的逻辑端口的带宽值为所述申请的带宽值。
结合第一方面,在第二种可能的实现方式中 ,所述带宽请求中还 携带所述业务应用装置指定的物理端口的标识;
所述根据所述申请的带宽值 , 为所述业务应用装置从所述同一资 源池的所有物理端口中选择使用状态为可用 ,未分配的带宽不小于所述 申请的带宽值,并且未分配逻辑端口数大于 0的一个物理端口 ,分配该 物理端口下的一个使用状态为未分配的逻辑端口 ,并设置所述使用状态 为未分配的逻辑端口的带宽值为所述申请的带宽值,包括:
根据所述指定的物理端口的标识和所述申请的带宽值, 为所述业 务应用装置在所述指定的物理端口的未分配带宽不小于所述申请的带宽 值,并且所述指定的物理端口下的未分配的逻辑端口数大于 0的情况下, 分配一个使用状态为未分配的逻辑端口 ,并设置所述使用状态为未分配 的逻辑端口的带宽值为所述申请的带宽值。
结合第一方面、 第一方面第一种或第二种可能的实现方式,在第 三种可能的实现方式中 ,所述方法还包括:
将分配给所述业务应用装置的所述使用状态为未分配的逻辑端口 的使用状态设置为已分配;
修改所述使用状态为未分配的逻辑端口所属的物理端口的未分配 带宽值为原未分配带宽值減去所述申请的带宽值;
修改所述使用状态为未分配的逻辑端口所属的物理端口下的所述 未分配逻辑端口的数量为原未分配逻辑端口数減 1。
结合第一方面、 第一方面第一种或第二种可能的实现方式,在第 四种可能的实现方式中 ,所述方法还包括:
关联存储所述业务应用装置的标识、 已给所述业务应用装置分配 的逻辑端口的标识和对应已分配的所述逻辑端口的带宽值。
结合第一方面第四种可能的实现方式 ,在第五种可能的实现方式 中 , 当所述业务应用装置有带宽申请上限时,所述根据所述申请的带宽 值, 为所述业务应用装置从所述同一资源池的所有物理端口中选择使用 状态为可用 ,未分配的带宽不小于所述申请的带宽值,并且未分配逻辑 端口数大于 0的一个物理端口 ,分配该物理端口下的一个使用状态为未 分配的逻辑端口 ,并设置所述使用状态为未分配的逻辑端口的带宽值为 所述申请的带宽值,包括:
确定所述申请的带宽值不大于所述带宽申请上限 , 且所述申请的 带宽值与所述业务应用装置已使用的所有逻辑端口的带宽的和不大于所 述带宽申请上限时,根据所述申请的带宽值, 为所述业务应用装置从所 述同一资源池的所有物理端口中选择使用状态为可用 ,未分配的带宽不 小于所述申请的带宽值,并且未分配逻辑端口数大于 0的一个物理端口 , 分配该物理端口下的一个使用状态为未分配的逻辑端口 ,并设置所述使 用状态为未分配的逻辑端口的带宽值为所述申请的带宽值。
结合第一方面第五种可能的实现方式 ,在第六种可能的实现方式 中 ,所述方法还包括:
接收所述业务应用装置发送的带宽增加请求 ,所述带宽增加请求 中携带申请增加带宽的逻辑端口标识和申请增加的带宽值;
根据所述申请增加带宽的逻辑端口标识和申请增加的带宽值 ,在 所述申请增加带宽的逻辑端口所属的物理端口下的未分配带宽不小于所 述申请增加的带宽值,并且原来为所述申请增加带宽的逻辑端口分配的 带宽与所述申请增加到带宽值的和不大于所述带宽申请上限时,更新所 述申请增加带宽的逻辑端口的带宽值为所述申请增加带宽的逻辑端口原 来已分配的带宽值和所述申请增加的带宽值之和;
修改所述申请增加带宽的逻辑端口所属的物理端口下的未分配带 宽值为原来未分配带宽值減去所述申请增加的带宽值;
向所述业务应用装置发送带宽增加成功响应 ,所述带宽增加成功 响应中携带所述申请增加带宽的逻辑端口的标识和所述更新后的带宽 值。
结合第一方面第三种至第六种可能的实现方式中的任意一种 ,在 第七种可能的实现方式中 ,所述方法还包括:
接收所述业务应用装置发送的带宽減少请求 ,所述带宽減少请求 中携带申请減少带宽的逻辑端口标识和申请減少的带宽值;
根据所述申请減少带宽的逻辑端口标识和申请減少的带宽值 ,将 所述申请減少带宽的逻辑端口的带宽值減少所述申请減少的带宽值; 修改所述申请減少带宽的逻辑端口所属的物理端口的未分配带宽 值为原未分配带宽值加上所述申请減少的带宽值;
向所述业务应用装置发送带宽減少成功响应 ,所述带宽減少成功 响应中携带所述申请減少带宽的逻辑端口的标识和所述減少后的带宽 值。
结合第一方面第三种至第七种可能的实现方式中的任意一种 ,在 第八种可能的实现方式中 ,所述方法还包括:
接收所述业务应用装置发送的带宽释放请求 ,所述带宽释放请求 中携带申请释放的逻辑端口标识;
根据所述申请释放的逻辑端口标识,释放所述申请释放的逻辑端
□ ;
修改所述申请释放的逻辑端口所属的物理端口下的未分配带宽为 原未分配带宽值与申请释放的逻辑端口的带宽值之和;
修改所述申请释放的逻辑端口的状态为未分配, 设置所述申请释 放的逻辑端口的带宽值为零;
向所述业务应用装置发送带宽释放成功响应 ,所述带宽释放成功 响应中携带所述申请释放的逻辑端口的标识。
本发明第二方面提供一种传输带宽的控制方法,包括:
根据数据传输业务需求,向资源池中的主控基带处理单元 BBU发 送带宽请求,所述带宽请求中携带申请的带宽值;
接收所述主控 BBU发送的带宽请求响应,所述带宽请求响应中携 带所述主控 BBU 分配的使用状态为未分配的逻辑端口的标识和为所述 使用状态为未分配的逻辑端口分配的带宽值;
使用所述使用状态为未分配的逻辑端口进行数据传输。 结合第二方面,在第一种可能的实现方式中 , 所述带宽请求中还 携带指定的 BBU的标识时,
所述接收所述主控 BBU发送的带宽请求响应,所述带宽请求响应 中携带所述主控 BBU 分配的使用状态为未分配的逻辑端口的标识和为 所述使用状态为未分配的逻辑端口分配的带宽值,包括:
接收所述主控 BBU发送的带宽响应,所述带宽响应中携带所述主 控 BBU分配的所述指定 BBU上的使用状态为未分配的逻辑端口的标识 和为所述使用状态为未分配的逻辑端口分配的带宽值;
对应的 ,所述使用所述使用状态为未分配的逻辑端口进行数据传 输,包括:
使用所述指定的 BBU上的所述使用状态为未分配的逻辑端口进行 数据传输。
结合第二方面,在第二种可能的实现方式中 , 所述带宽请求中还 携带指定的物理端口的标识;
所述接收所述主控 BBU发送的带宽请求响应,所述带宽请求响应 中携带所述主控 BBU 分配的使用状态为未分配的逻辑端口的标识和为 所述使用状态为未分配的逻辑端口分配的带宽值,包括:
接收所述主控 BBU发送的带宽响应,所述带宽响应中携带所述主 控 BBU 分配的所述指定物理端口下的使用状态为未分配的逻辑端口的 标识和为所述使用状态为未分配的逻辑端口分配的带宽值;
对应的 ,所述使用所述使用状态为未分配的逻辑端口进行数据传 输,包括:
使用所述指定的物理端口下的所述使用状态为未分配的逻辑端口 进行数据传输。
结合第二方面、 第二方面第一种或第二种可能的实现方式,在第 三种可能的实现方式中 ,所述方法还包括:
向所述业务应用装置发送的带宽增加请求, 所述带宽增加请求中 携带申请增加带宽的逻辑端口标识和申请增加的带宽值;
接收所述主控 BBU发送来的带宽增加成功响应,所述带宽增加成 功响应中携带所述申请增加带宽的逻辑端口的标识和所述更新后的带宽 值;
使用所述更新带宽值后的所述申请增加带宽的逻辑端口进行数据 传输。
结合第二方面、 第二方面第一种或第二种可能的实现方式,在第 四种可能的实现方式中 ,所述方法还包括:
向所述业务应用装置发送带宽減少请求 ,所述带宽減少请求中携 带申请減少带宽的逻辑端口标识和申请減少的带宽值;
接收所述主控 BBU发送来的带宽減少成功的响应,所述带宽減少 成功响应中携带所述申请減少带宽的逻辑端口的标识和所述減少后的带 宽值;
使用所述減少带宽值后的所述申请減少带宽的逻辑端口进行数据 传输。
结合第二方面、 第二方面第一种或第二种可能的实现方式,在第 五种可能的实现方式中 ,所述方法还包括:
向所述业务应用装置发送带宽释放请求 ,所述带宽释放请求中携 带申请释放的逻辑端口标识,以使所述主控 BBU释放所述申请释放的逻 辑端口 ;
接收所述主控 BBU发送的带宽释放成功的响应,所述带宽释放成 功响应中携带所述申请释放的逻辑端口的标识。
本发明第三方面提供一种基带处理单元,包括:
第一接收单元,用于接收同一资源池中的每个基带处理单元 BBU 上报的本 BBU 下的物理端口的标识和与所述物理端口的标识关联的逻 辑端口的标识, 以及所述物理端口的使用状态信息、 所述逻辑端口的使 用状态信息、 所述物理端口下未分配的带宽值和所述物理端口下的未分 配的逻辑端口的数量;
关联存储单元, 用于关联存储所述第一接收单元接收到的同一资 源池中的每个基带处理单元 BBU上报的本 BBU下的物理端口的标识和 与所述物理端口的标识关联的逻辑端口的标识, 以及所述物理端口的使 用状态信息、 所述逻辑端口的使用状态信息、 所述物理端口下未分配的 带宽值和所述物理端口下的未分配的逻辑端口的数量;
所述第一接收单元 ,还用于接收业务应用装置的带宽请求, 所述 带宽请求中携带所述业务应用装置申请的带宽值;
分配单元, 用于根据所述第一接收单元接收到的所述申请的带宽 值, 为所述业务应用装置从所述同一资源池的所有物理端口中选择使用 状态为可用 ,未分配的带宽不小于所述申请的带宽值,并且未分配逻辑 端口数大于 0的一个物理端口 ,分配该物理端口下的一个使用状态为未 分配的逻辑端口 ,并设置所述使用状态为未分配的逻辑端口的带宽值为 所述申请的带宽值;
第一发送单元, 用于向所述业务应用装置发送带宽请求响应 ,所 述带宽请求响应中携带所述使用状态为未分配的逻辑端口的标识和为所 述使用状态为未分配的逻辑端口分配的带宽值, 以使所述业务应用装置 使用所述使用状态为未分配的逻辑端口进行数据传输。
结合第三方面,在第一种可能的实现方式中 ,
所述第一接收单元,还用于接收所述每个 BBU上报的本 BBU的 标识;
所述关联存储单元,还用于将所述第一接收单元接收的本 BBU的 标识与所述本 BBU下的物理端口的标识关联存储;
所述带宽请求中还携带所述业务应用装置指定的 BBU的标识; 所述分配单元,用于根据所述指定的 BBU的标识和所述申请的带 宽值,为所述业务应用装置从所述指定的 BBU下的物理端口中选择使用 状态为可用 ,未分配的带宽不小于所述申请的带宽值,并且未分配逻辑 端口数大于 0的一个物理端口 ,分配该物理端口下的一个使用状态为未 分配的逻辑端口 ,并设置所述使用状态为未分配的逻辑端口的带宽值为 所述申请的带宽值。
结合第三方面 ,在第二种可能的实现方式中 , 所述带宽请求中还 携带所述业务应用装置指定的物理端口的标识;
所述分配单元, 用于根据所述指定的物理端口的标识和所述申请 的带宽值, 为所述业务应用装置在所述指定的物理端口的未分配带宽不 小于所述申请的带宽值,并且所述指定的物理端口下的未分配的逻辑端 口数大于 0的情况下,分配一个使用状态为未分配的逻辑端口 ,并设置 所述使用状态为未分配的逻辑端口的带宽值为所述申请的带宽值。
结合第三方面、 第三方面第一种或第二种可能的实现方式,在第 三种可能的实现方式中 ,所述基带处理单元还包括:
设置单元, 用于将分配单元分配给所述业务应用装置的所述使用 状态为未分配的逻辑端口的使用状态设置为已分配;
修改单元, 用于修改所述使用状态为未分配的逻辑端口所属的物 理端口的未分配带宽值为原未分配带宽值減去所述申请的带宽值,并修 改所述使用状态为未分配的逻辑端口所属的物理端口下的所述未分配逻 辑端口的数量为原未分配逻辑端口数減 1。
结合第三方面、 第三方面第一种或第二种可能的实现方式,在第 四种可能的实现方式中 ,
所述关联存储单元 ,还用于关联存储所述业务应用装置的标识、 已给所述业务应用装置分配的逻辑端口的标识和总带宽值。
结合第三方面第四种可能的实现方式 ,在第五种可能的实现方式 中 , 当所述业务应用装置有带宽申请上限时,
所述分配单元, 用于确定所述申请的带宽值不大于所述带宽申请 上限,且所述申请的带宽值与所述业务应用装置已使用的所有逻辑端口 的带宽的和不大于所述带宽申请上限时,根据所述申请的带宽值, 为所 述业务应用装置从所述同一资源池的所有物理端口中选择使用状态为可 用 ,未分配的带宽不小于所述申请的带宽值,并且未分配逻辑端口数大 于 0的一个物理端口 ,分配该物理端口下的一个使用状态为未分配的逻 辑端口 ,并设置所述使用状态为未分配的逻辑端口的带宽值为所述申请 的带宽值。
结合第三方面第五种可能的实现方式 ,在第六种可能的实现方式 中 ,
所述第一接收单元 ,还用于接收所述业务应用装置发送的带宽增 加请求,所述带宽增加请求中携带申请增加带宽的逻辑端口标识和申请 增加的带宽值;
所述分配单元, 还用于根据所述申请增加带宽的逻辑端口标识和 申请增加的带宽值,在所述申请增加带宽的逻辑端口所属的物理端口下 的未分配带宽不小于所述申请增加的带宽值,并且原来为所述申请增加 带宽的逻辑端口分配的带宽与所述申请增加到带宽值的和不大于所述带 宽申请上限时,更新所述申请增加带宽的逻辑端口的带宽值为所述申请 增加带宽的逻辑端口原来已分配的带宽值和所述申请增加的带宽值之 和;
所述修改单元, 用于修改所述申请增加带宽的逻辑端口所属的物 理端口下的未分配带宽值为原来未分配带宽值減去所述申请增加的带宽 值;
所述第一发送单元 ,还用于向所述业务应用装置发送带宽增加成 功响应,所述带宽增加成功响应中携带所述申请增加带宽的逻辑端口的 标识和所述更新后的带宽值。
结合第三方面第三种至第六种可能的实现方式中的任意一种 ,在 第七种可能的实现方式中 ,
所述第一接收单元 ,还用于接收所述业务应用装置发送的带宽減 少请求,所述带宽減少请求中携带申请減少带宽的逻辑端口标识和申请 減少的带宽值;
所述分配单元, 还用于根据所述申请減少带宽的逻辑端口标识和 申请減少的带宽值,将所述申请減少带宽的逻辑端口的带宽值減少所述 申请減少的带宽值;
所述修改单元, 还用于修改所述申请減少带宽的逻辑端口所属的 物理端口的未分配带宽值为原未分配带宽值加上所述申请減少的带宽 值;
所述第一发送单元 ,还用于向所述业务应用装置发送带宽減少成 功响应,所述带宽減少成功响应中携带所述申请減少带宽的逻辑端口的 标识和所述減少后的带宽值。 结合第三方面第三种至第七种可能的实现方式中的任意一种 ,在 第八种可能的实现方式中 ,
所述第一接收单元 ,还用于接收所述业务应用装置发送的带宽释 放请求,所述带宽释放请求中携带申请释放的逻辑端口标识;
所述分配单元, 还用于根据所述申请释放的逻辑端口标识,释放 所述申请释放的逻辑端口 ;
所述修改单元, 还用于修改所述申请释放的逻辑端口所属的物理 端口下的未分配带宽为原未分配带宽值与申请释放的逻辑端口的带宽值 之和 ,并修改所述申请释放的逻辑端口的状态为未分配,设置所述申请 释放的逻辑端口的带宽值为零;
所述第一发送单元 ,还用于向所述业务应用装置发送带宽释放成 功响应,所述带宽释放成功响应中携带所述申请释放的逻辑端口的标识。
本发明第四方面提供一种业务应用装置,包括:
第二发送单元, 用于根据数据传输业务需求 , 向资源池中的主控 基带处理单元 BBU发送带宽请求,所述带宽请求中携带申请的带宽值; 第二接收单元,用于接收所述主控 BBU发送的带宽请求响应,所 述带宽请求响应中携带所述主控 BBU 分配的使用状态为未分配的逻辑 端口的标识和为所述使用状态为未分配的逻辑端口分配的带宽值;
传输单元, 用于使用所述第二接收单元接收到的所述使用状态为 未分配的逻辑端口进行数据传输。
结合第四方面,在第一种可能的实现方式中 ,所述带宽请求中还 携带指定的 BBU的标识时,
所述第二接收单元,用于接收所述主控 BBU发送的带宽响应,所 述带宽响应中携带所述主控 BBU分配的所述指定 BBU上的使用状态为 未分配的逻辑端口的标识和为所述使用状态为未分配的逻辑端口分配的 带宽值;
所述传输单元, 用于使用所述第二接收单元接收到的所述指定的 BBU上的所述使用状态为未分配的逻辑端口进行数据传输。
结合第四方面,在第二种可能的实现方式中 ,所述带宽请求中还 携带指定的物理端口的标识;
所述第二接收单元,用于接收所述主控 BBU发送的带宽响应,所 述带宽响应中携带所述主控 BBU 分配的所述指定物理端口下的使用状 态为未分配的逻辑端口的标识和为所述使用状态为未分配的逻辑端口分 配的带宽值;
所述传输单元, 用于使用所述第二接收单元接收到的所述指定的 物理端口下的所述使用状态为未分配的逻辑端口进行数据传输。
结合第四方面、 第四方面第一种或第二种可能的实现方式,在第 三种可能的实现方式中 ,
所述第二发送单元 ,还用于向所述业务应用装置发送的带宽增加 请求,所述带宽增加请求中携带申请增加带宽的逻辑端口标识和申请增 加的带宽值;
所述第二接收单元,还用于接收所述主控 BBU发送来的带宽增加 成功响应,所述带宽增加成功响应中携带所述申请增加带宽的逻辑端口 的标识和所述更新后的带宽值;
所述传输单元, 还用于使用所述更新带宽值后的所述申请增加带 宽的逻辑端口进行数据传输。
结合第四方面、 第四方面第一种或第二种可能的实现方式,在第 四种可能的实现方式中 ,
所述第二发送单元 ,还用于向所述业务应用装置发送带宽減少请 求,所述带宽減少请求中携带申请減少带宽的逻辑端口标识和申请減少 的带宽值;
所述第二接收单元,还用于接收所述主控 BBU发送来的带宽減少 成功的响应,所述带宽減少成功响应中携带所述申请減少带宽的逻辑端 口的标识和所述減少后的带宽值;
所述传输单元, 还用于使用所述減少带宽值后的所述申请減少带 宽的逻辑端口进行数据传输。
结合第四方面、 第四方面第一种或第二种可能的实现方式,在第 五种可能的实现方式中 , 所述第二发送单元 ,还用于向所述业务应用装置发送带宽释放请 求,所述带宽释放请求中携带申请释放的逻辑端口标识, 以使所述主控
BBU释放所述申请释放的逻辑端口 ;
所述第二接收单元,还用于接收所述主控 BBU发送的带宽释放成 功的响应,所述带宽释放成功响应中携带所述申请释放的逻辑端口的标 本发明第五方面提供一种传输带宽控制系统 ,包括: 至少一个资 源池,每个资源池中包含多个 BBU和多个业务应用装置,其中一个 BBU 为主控 BBU ,其他非主控 BBU向所述主控 BBU上报的本 BBU的标识, 与所述本 BBU 的标识关联的物理端口的标识和与所述物理端口的标识 关联的逻辑端口的标识, 以及每个物理端口的使用状态信息和每个物理 端口的总带宽值和每个物理端口上的总逻辑端口数量;每个 BBU上包含 至少一个物理端口 , 一个物理端口只能属于一个资源池;
所述主控 BBU为上述技术方案所述的 BBU;
所述业务应用装置为上述技术方案所述的业务应用装置。
本发明实施例采用接收并关联存储同一资源池中的每个基带处理 单元 BBU上报的本 BBU下的物理端口的标识和与所述物理端口的标识 关联的逻辑端口的标识, 以及所述物理端口的使用状态信息、 所述逻辑 端口的使用状态信息、 所述物理端口下未分配的带宽值和所述物理端口 下的未分配的逻辑端口的数量;接收业务应用装置的带宽请求,所述带 宽请求中携带申请的带宽值;根据所述申请的带宽值, 为所述业务应用 装置从所述同一资源池的所有物理端口中选择使用状态为可用 ,未分配 的带宽不小于所述申请的带宽值,并且未分配逻辑端口数大于 0的一个 物理端口 ,分配该物理端口下的一个使用状态为未分配的逻辑端口 ,并 设置所述使用状态为未分配的逻辑端口的带宽值为所述申请的带宽值; 向所述业务应用装置发送带宽请求响应,所述带宽请求响应中携带所述 使用状态为未分配的逻辑端口的标识和为所述使用状态为未分配的逻辑 端口分配的带宽值, 以使所述业务应用装置使用所述使用状态为未分配 的逻辑端口进行数据传输。 与现有技术中无法根据业务需求动态分配带 宽相比,本发明实施例提供的传输带宽的控制方法,可以根据业务应用 的实际业务需求,动态使用系统带宽,減少人工规划和人工配置,且在 不同业务应用对带宽需求有潮汐现象时,不需要按照每个业务应用所需 的最大带宽量进行规划 ,从而提高系统带宽的利用率。 附 图 说明
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施 例描述中所需要使用的附图作简单地介绍 ,显而易见地, 下面描述中 的附图仅仅是本发明的一些实施例 ,对于本领域技术人员来讲,在不 付出创造性劳动的前提下 ,还可以根据这些附图获得其他的附图。
图 1 是本发明实施例中一种传输带宽的控制方法的一实施例示 意图;
图 2 是本发明实施例中一种传输带宽的控制方法的另一实施例 示意图;
图 3是本发明实施例中 BBU的一实施例示意图;
图 4是本发明实施例中 BBU的另一实施例示意图 ;
图 5是本发明实施例中业务应用装置的一实施例示意图 ; 图 6是本发明实施例中 BBU的另一实施例示意图 ;
图 7是本发明实施例中业务应用装置的另一实施例示意图; 图 8时本发明实施例中系统的一实施例示意图 ;
图 9是本发明实施例中系统的另一实施例示意图。 具体实施方式
本发明实施例提供一种传输带宽的控制方法 ,可以根据业务应用 的实际业务需求,动态使用系统带宽,減少人工规划和人工配置,且在 不同业务应用对带宽需求有潮汐现象时,不需要按照每个业务应用所需 的最大带宽量进行规划 ,从而提高系统带宽的利用率。 本发明实施例还 提供了相应的装置及系统。 以下分别进行详细说明。
下面将结合本发明实施例中的附图 , 对本发明实施例中的技术方 案进行清楚地描述,显然,所描述的实施例仅仅是本发明一部分实施例 , 而不是全部的实施例。 基于本发明中的实施例 ,本领域技术人员在没有 作出创造性劳动前提下所获得的所有其他实施例 ,都属于本发明保护的 范围。
本发明实施例中的基带处理单元(BaseBand Unit , BBU )为基站 中的一个实体装置,包括主控板、 传输板等等,业务应用装置是系统中 需要使用带宽资源的功能模块,其本身也可以根据需要动态删除和创建。
参阅图 1 ,本发明实施例提供的传输带宽的控制方法的一实施例包 括:
101、 主控 BBU 接收并关联存储同一资源池中的每个基带处理单 元 BBU上报的本 BBU下的物理端口的标识和与所述物理端口的标识关 联的逻辑端口的标识, 以及所述物理端口的使用状态信息、 所述逻辑端 口的使用状态信息、 所述物理端口下未分配的带宽值和所述物理端口下 的未分配的逻辑端口的数量。
实际上 BBU上报的还可以包括:物理端口的总带宽值、 物理端口 上的总逻辑端口数。
在初始化时 ,存储资源池中所有物理端口的未分配带宽为物理端 口的总带宽;
在初始化时 ,存储资源池中所有物理端口的未分配逻辑端口数为 物理端口的总逻辑端口数。
在初始化时 ,存储资源池中所有逻辑端口的状态为未分配, 带宽 值为 0。
资源池有多个 BBU组成,在建网时可以预先设置资源池中的一个 BBU为主控 BBU ,也可以让一个资源池中的 BBU通过竞争产生一个主 控 BBU。其他的 BBU都为非主控的 BBU ,主控的 BBU和非主控的 BBU 可以进行通信, 每个非主控的 BBU会将本 BBU下的物理端口的标识和 与所述物理端口的标识关联的逻辑端口的标识, 以及所述物理端口的使 用状态信息、 所述逻辑端口的使用状态信息、 所述物理端口下未分配的 带宽值和所述物理端口下的未分配的逻辑端口的数量上报给主控的 BBU。
对于有多个物理端口的 BBU 可以属于两个或者多个资源池 ,但 B B U上的每个物理端口只能属于一个资源池。
每个 BBU至少有一个物理端口 ,每个物理端口会有对应的带宽值, 如 10M/100M/1000M。 在每个物理端口上创建多个逻辑端口 ,未分配的 逻辑端口的默认带宽值为 0 ,可以在为逻辑端口配置一定的带宽值后 , 分配给业务应用装置使用。 一个物理端口上的所有逻辑端口的带宽总数 一般不能超过这个物理端口的带宽。
本发明实施例中 , 每个物理端口的标识, 每个逻辑端口的标识都 是唯一的。
一个资源池可以有二张表; 一是物理端口的表、 一是逻辑端口的表: 表 1 : 物理端 口 的表
Figure imgf000018_0001
表 2 : 逻辑端 口 的表
Figure imgf000018_0002
当然, 上述表格只是举例说明 , 实际上一个资源池中有很多个物 理端口 , 每个物理端口下也可以创建很多逻辑端口 ,其他物理端口和逻 辑端口的描述都可以参照表 1和表 2进行理解。
102、 主控 BBU 接收业务应用装置的带宽请求,所述带宽请求中 携带所述业务应用装置申请的带宽值。
当业务应用装置根据自身业务需求,需要 20Μ的带宽时,则可以 向主控 BBU发送带宽请求,带宽请求中的申请的带宽值为 20Μ。
103、 主控 BBU根据所述申请的带宽值, 为所述业务应用装置从 所述同一资源池的所有物理端口中选择使用状态为可用 ,未分配的带宽 不小于所述申请的带宽值,并且未分配逻辑端口数大于 0的一个物理端 口 ,分配该物理端口下的一个使用状态为未分配的逻辑端口 ,并设置所 述使用状态为未分配的逻辑端口的带宽值为所述申请的带宽值。
当业务应用装置需要 20Μ带宽时,主控 BBU可以选择资源池中的 任意一个 BBU中的物理端口状态为可用的 ,物理端口未分配带宽不小于 20Μ ,且未分配逻辑端口数大于 0的物理端口。
分配该物理端口下的一个状态为未分配的逻辑端口 , 并设置该逻 辑端口的带宽值为 20Μ。
选择物理端口的算法包括, 对于一个业务应用装置的带宽申请, 优先选择未分配带宽最多的物理端口 ,或者选择能满足申请的最少的未 分配带宽的物理端口。
104、 主控 BBU 向所述业务应用装置发送带宽请求响应,所述带 宽请求响应中携带所述使用状态为未分配的逻辑端口的标识和为所述使 用状态为未分配的逻辑端口分配的带宽值, 以使所述业务应用装置使用 所述使用状态为未分配的逻辑端口进行数据传输。
本发明实施例中 ,如果主控 BBU分配使用状态为未分配的逻辑端 口的标识为 1-1-1 ,为该逻辑端口 1-1-1设置的带宽为 20Μ ,那么带宽请 求响应中就携带逻辑端口的标识为 1-1-1和 20Μ带宽值,使得业务应用 装置获得该逻辑端口的带宽值,业务应用装置可以使用该 1-1-1 的逻辑 端口进行数据传输。
本发明实施例采用接收并关联存储同一资源池中的每个基带处理 单元 BBU上报的本 BBU下的物理端口的标识和与所述物理端口的标识 关联的逻辑端口的标识, 以及所述物理端口的使用状态信息、 所述逻辑 端口的使用状态信息、 所述物理端口下未分配的带宽值和所述物理端口 下的未分配的逻辑端口的数量;接收业务应用装置的带宽请求,所述带 宽请求中携带申请的带宽值;根据所述申请的带宽值, 为所述业务应用 装置从所述同一资源池的所有物理端口中选择使用状态为可用 ,未分配 的带宽不小于所述申请的带宽值,并且未分配逻辑端口数大于 0的一个 物理端口 ,分配该物理端口下的一个使用状态为未分配的逻辑端口 ,并 设置所述使用状态为未分配的逻辑端口的带宽值为所述申请的带宽值; 向所述业务应用装置发送带宽请求响应,所述带宽请求响应中携带所述 使用状态为未分配的逻辑端口的标识和为所述使用状态为未分配的逻辑 端口分配的带宽值, 以使所述业务应用装置使用所述使用状态为未分配 的逻辑端口进行数据传输。 与现有技术中无法根据业务需求动态分配带 宽相比,本发明实施例提供的传输带宽的控制方法,可以根据业务应用 的实际业务需求,动态使用系统带宽,減少人工规划和人工配置,且在 不同业务应用对带宽需求有潮汐现象时,不需要按照每个业务应用所需 的最大带宽量进行规划 ,从而提高系统带宽的利用率。
可选地,在上述图 1 对应的实施例的基础上,本发明实施例提供 的传输带宽的控制方法的第一个可选实施例还可以包括:
接收所述每个 BBU上报的本 BBU的标识,并将所述本 BBU的标 识与所述本 BBU下的物理端口的标识关联存储;
所述带宽请求中还携带所述业务应用装置指定的 BBU的标识; 所述根据所述申请的带宽值 , 为所述业务应用装置从所述同一资 源池的所有物理端口中选择使用状态为可用 ,未分配的带宽不小于所述 申请的带宽值,并且未分配逻辑端口数大于 0的一个物理端口 ,分配该 物理端口下的一个使用状态为未分配的逻辑端口 ,并设置所述使用状态 为未分配的逻辑端口的带宽值为所述申请的带宽值,可以包括:
根据所述指定的 BBU的标识和所述申请的带宽值,为所述业务应 用装置从所述指定的 BBU下的物理端口中选择使用状态为可用 ,未分配 的带宽不小于所述申请的带宽值,并且未分配逻辑端口数大于 0的一个 物理端口 ,分配该物理端口下的一个使用状态为未分配的逻辑端口 ,并 设置所述使用状态为未分配的逻辑端口的带宽值为所述申请的带宽值。
本发明实施例中 ,非主控 BBU向主控 BBU上报信息时,还可以 上报本 BBU的标识,主控 BBU将各非主控 BBU的标识与对应的该非主 控 BBU上报的物理端口的标识关联存储。 如 :将 BBU1与 BBU1下的物 理端口的标识 1-1关联存储。当业务应用装置指定了申请带宽的 BBU时, 主控 BBU就按照业务应用装置的需求,优先从指定的 BBU上分配业务 应用装置需要的带宽,如果业务应用装置指定的 BBU有多个物理端口属 于该资源池时,可以从该指定 BBU的一个可用物理端口下选择一个使用 状态为未分配的逻辑端口。 例如 : 当业务应用装置申请 BBU1 上的 20M带宽时,主控 BBU 会从 BBU1上的一个可用物理端口下分配一个使用状态为未分配的逻辑 端口。
本发明实施例中 ,业务应用装置中可以关联存储有主控 BBU中存 储的各标识的关联表,如表 1 ,表 2 ,主控 BBU会将其他 BBU上报上来 的信息主动发送给业务应用装置,也可以在业务应用装置请求后发送给 业务应用装置,业务应用装置也可以通过其他方式获得以上标识的关联 in磨、 o
可选地,在上述图 1 对应的实施例的基础上,本发明实施例提供 的传输带宽的控制方法的第二个可选实施例中 ,所述带宽请求中还携带 所述业务应用装置指定的物理端口的标识;
所述根据所述申请的带宽值 , 为所述业务应用装置从所述同一资 源池的所有物理端口中选择使用状态为可用 ,未分配的带宽不小于所述 申请的带宽值,并且未分配逻辑端口数大于 0的一个物理端口 ,分配该 物理端口下的一个使用状态为未分配的逻辑端口 ,并设置所述使用状态 为未分配的逻辑端口的带宽值为所述申请的带宽值,可以包括:
根据所述指定的物理端口的标识和所述申请的带宽值 , 为所述业 务应用装置在所述指定的物理端口的未分配带宽不小于所述申请的带宽 值,并且所述指定的物理端口下的未分配的逻辑端口数大于 0的情况下 , 分配一个使用状态为未分配的逻辑端口 ,并设置所述使用状态为未分配 的逻辑端口的带宽值为所述申请的带宽值。
本发明实施例中 , 当业务应用装置指定了物理端口时,主控 BBU 在确定该指定的物理端口的未分配带宽不小于所述申请的带宽值,并且 所述指定的物理端口下的未分配的逻辑端口数大于 0的情况下 ,优先从 指定的物理端口下选择一个使用状态为未分配的逻辑端口 ,并给该使用 状态为未分配的逻辑端口设置带宽值。
本发明实施例中 ,当业务应用装置指定 BBU1下的 1-1物理端口为 其提供 20M带宽用于数据传输时,在物理端口 1-1的未分配带宽大于或 者等于 20M ,且物理端口 1-1下还有未分配的逻辑端口时,主控 BBU可 以选择物理端口 1-1下的一个使用状态为未分配的逻辑端口 1-1-1为该业 务应用装置提供带宽,给该逻辑端口 1-1-1设置 20M的带宽。
在上述图 1对应的实施例及图 1对应的第一个或第二个可选实施 例的基础上,本发明实施例提供的传输带宽的控制方法的第三个可选实 施例还可以包括:
将分配给所述业务应用装置的所述使用状态为未分配的逻辑端口 的使用状态设置为已分配;
修改所述使用状态为未分配的逻辑端口所属的物理端口的未分配 带宽值为原未分配带宽值減去所述申请的带宽值;
修改所述使用状态为未分配的逻辑端口所属的物理端口下的所述 未分配逻辑端口的数量为原未分配逻辑端口数減 1。
本发明实施例中 ,主控 BBU在给业务应用装置分配了逻辑端口后 , 会将该逻辑端口状态设置为已分配,并且将所述使用状态为未分配的逻 辑端口所属的物理端口的未分配带宽值为原未分配带宽值減去所述申请 的带宽值,将所述使用状态为未分配的逻辑端口所属的物理端口下的所 述未分配逻辑端口的数量为原未分配逻辑端口数減 1。
例如 : 当主控 BBU给业务应用装置分配了物理端口 1-1下的使用 状态为未分配的逻辑端口 1-1-1 ,并给该逻辑端口 1-1-1设置了 20Μ的带 宽后 ,将该逻辑端口 1-1-1 的使用状态设置为已分配,如果原来物理端 口 1-1的未使用带宽为 200Μ ,还要将该物理端口 1-1的未使用带宽修改 为 200-20=180Μ ,如果原来物理端口 1-1 下的未分配逻辑端口数量为 5 时,还要将物理端口 1-1下的未分配逻辑端口数量修改为 5-1=4个。
在上述图 1 对应的实施例及图 1对应的第一个或第二个可选实施 例的基础上,本发明实施例提供的传输带宽的控制方法的第四个可选实 施例还包括:
关联存储所述业务应用装置的标识、 已给所述业务应用装置分配 的逻辑端口的标识和对应已分配的所述逻辑端口的带宽值。
本发明实施例中 ,主控 BBU要记录并关联存储该业务应用装置的 标识及给该业务应用装置分配的逻辑端口的标识和逻辑端口的标识对应 的带宽值,这样, 当该业务应用装置再申请带宽时,就可以判断该业务 应用装置的申请总量有没有超过带宽申请上限。 如果设定的带宽申请上 限为 100M ,那么主控 BBU只会给该业务应用装置分配不大于 100M的 带宽, 当业务应用装置申请量大于 100M ,主控 BBU会拒绝该业务应用 装置的申请。 当业务应用装置申请量不大于 100M ,主控 BBU会给该业 务应用装置分配带宽。 在上述图 1 对应的第四个可选实施例的基础上 ,本发明实施例提 供的传输带宽的控制方法的第五个可选实施例中 ,
当所述业务应用装置有带宽申请上限时,所述根据所述申请的带 宽值, 为所述业务应用装置从所述同一资源池的所有物理端口中选择使 用状态为可用 ,未分配的带宽不小于所述申请的带宽值,并且未分配逻 辑端口数大于 0的一个物理端口 ,分配该物理端口下的一个使用状态为 未分配的逻辑端口 ,并设置所述使用状态为未分配的逻辑端口的带宽值 为所述申请的带宽值,可以包括:
确定所述申请的带宽值不大于所述带宽申请上限 ,且所述申请的 带宽值与所述业务应用装置已使用的所有逻辑端口的带宽的和不大于所 述带宽申请上限时,根据所述申请的带宽值, 为所述业务应用装置从所 述同一资源池的所有物理端口中选择使用状态为可用 ,未分配的带宽不 小于所述申请的带宽值,并且未分配逻辑端口数大于 0的一个物理端口 , 分配该物理端口下的一个使用状态为未分配的逻辑端口 ,并设置所述使 用状态为未分配的逻辑端口的带宽值为所述申请的带宽值。
本发明实施例中 , 当业务应用装置有带宽申请上限时 ,如带宽申 请上限为 100M ,那么该业务应用装置能够得到的带宽量不能超过 100M , 主控 BBU只会给该业务应用装置分配不大于 100M的带宽。
在上述图 1 对应的第五个可选实施例的基础上 ,本发明实施例提 供的传输带宽的控制方法的第六个可选实施例还可以包括:
接收所述业务应用装置发送的带宽增加请求 ,所述带宽增加请求 中携带申请增加带宽的逻辑端口标识和申请增加的带宽值;
根据所述申请增加带宽的逻辑端口标识和申请增加的带宽值,在 所述申请增加带宽的逻辑端口所属的物理端口下的未分配带宽不小于所 述申请增加的带宽值,并且原来为所述申请增加带宽的逻辑端口分配的 带宽与所述申请增加到带宽值的和不大于所述带宽申请上限时,更新所 述申请增加带宽的逻辑端口的带宽值为所述申请增加带宽的逻辑端口原 来已分配的带宽值和所述申请增加的带宽值之和;
修改所述申请增加带宽的逻辑端口所属的物理端口下的未分配带 宽值为原来未分配带宽值減去所述申请增加的带宽值;
向所述业务应用装置发送带宽增加成功响应 ,所述带宽增加成功 响应中携带所述申请增加带宽的逻辑端口的标识和所述更新后的带宽 值。
本发明实施例中 , 当数据业务增加时 ,业务应用装置对带宽的需 求量增加 ,这样,业务应用装置可以向主控 BBU发送带宽增加请求,所 述带宽增加请求中携带申请增加带宽的逻辑端口标识和申请增加的带宽 值;如 :原来该业务应用装置已经申请了 20M的带宽,是由 BBU1的逻 辑端口 1-1-1为该业务应用装置提供的 20M带宽,当主控 BBU接收到带 宽增加请求,请求增加逻辑端口 1-1-1上的 20M带宽时,主控 BBU确定 该物理端口 1-1的未分配带宽有 200M ,大于 20M ,且该业务应用装置的 带宽申请上限为 100M , 20Μ+20Μ=40Μ , 40M小于 100M ,还没有达到 业务应用装置的带宽申请上限,那么主控 BBU可以修改 BBU1的 1-1-1 逻辑端口的带宽值,将该 1-1-1逻辑端口的带宽值修改为 40M。
修改逻辑端口 1-1-1的带宽值后,将物理端口 1-1的为分配带宽修 改为 200-20=180Μ , 发送的带宽增加成功响应中携带逻辑端口的标识 1-1-1 和更新后的带宽 40M ,这样,业务应用装置就可以使用逻辑端口 1-1-1传输 40M带宽的业务。
在上述图 1 对应的第三个可选实施例到第六个可选实施例中任意 一个实施例的基础上,本发明实施例提供的传输带宽的控制方法的第七 个可选实施例还可以包括:
接收所述业务应用装置发送的带宽減少请求 ,所述带宽減少请求 中携带申请減少带宽的逻辑端口标识和申请減少的带宽值;
根据所述申请減少带宽的逻辑端口标识和申请減少的带宽值,将 所述申请減少带宽的逻辑端口的带宽值減少所述申请減少的带宽值; 修改所述申请減少带宽的逻辑端口所属的物理端口的未分配带宽 值为原未分配带宽值加上所述申请減少的带宽值;
向所述业务应用装置发送带宽減少成功响应 ,所述带宽減少成功 响应中携带所述申请減少带宽的逻辑端口的标识和所述減少后的带宽 值。
本发明实施例中 , 当数据传输业务減少时, 业务应用装置原来申 请的带宽用不完时,业务应用装置可以向主控 BBU申请減少带宽,让其 他有需要的数据业务来使用減少的带宽, 以提高带宽的利用率。
当业务应用装置原来申请了逻辑端口 1-1-1 上的 50M带宽时, 目 前只需要 20M的带宽时,业务应用装置可以向主控 BBU发送带宽減少 请求,带宽減少请求中携带逻辑端口的标识 1-1-1 , 申请減少的 20Μ的 带宽值,主控 BBU接收到该带宽減少请求后,根据带宽減少请求中携带 的申请減少的 20Μ的带宽值,回收该业务应用装置原来使用的逻辑端口 1-1-1下的 20Μ带宽,该逻辑端口 1-1-1下还有 30Μ带宽供该业务应用 置使用 ο
如果逻辑端口 1-1-1 所属的物理端口 1-1 原来未分配的带宽为 200Μ , 那么減少 20Μ 带宽后 ,将物理端口 1-1 的未分配带宽修改为 200+20=220Μ ,并向业务应用装置发送带宽減少成功的响应,该带宽減 少成功的响应中携带逻辑端口 1-1-1和減少后剩余的 30Μ带宽值。
在上述图 1 对应的第三个可选实施例到第七个可选实施例中任意 一个实施例的基础上,本发明实施例提供的传输带宽的控制方法的第八 个可选实施例还可以包括:
接收所述业务应用装置发送的带宽释放请求 ,所述带宽释放请求 中携带申请释放的逻辑端口标识;
根据所述申请释放的逻辑端口标识,释放所述申请释放的逻辑端
□ ;
修改所述申请释放的逻辑端口所属的物理端口下的未分配带宽为 原未分配带宽值与申请释放的逻辑端口的带宽值之和;
修改所述申请释放的逻辑端口的状态为未分配, 设置所述申请释 放的逻辑端口的带宽值为零;
向所述业务应用装置发送带宽释放成功响应 ,所述带宽释放成功 响应中携带所述申请释放的逻辑端口的标识。
本发明实施例中 ,当主控 BBU接收到带宽释放请求时,可以获知 业务应用装置没有数据需要传输,要释放掉原来使用的逻辑端口 ,如果 原来使用的逻辑端口为 1-1-1 ,该逻辑端口 1-1-1的带宽值为 40Μ ,那么 该主控 BBU就可以释放掉该逻辑端口 1-1-1上的 40Μ带宽,将该逻辑端 口 1-1-1的带宽值设置为 0 ,该逻辑端口 1-1-1的使用状态修改为未分配, 如果原来逻辑端口 1-1-1所属的物理端口 1-1的未分配的带宽为 200Μ , 那么释放带宽后,要将物理端口 1-1的为分配带宽修改为 200+40=240Μ , 并在释放成功响应中携带该逻辑端口的标识, 以通知业务应用装置,该 逻辑端口已经成功释放。
参阅图 2 ,本发明实施例提供的传输带宽的控制方法的另一实施例 包括:
201、 业务应用装置根据数据传输业务需求,向资源池中的主控基 带处理单元 BBU发送带宽请求,所述带宽请求中携带申请的带宽值。
资源池有多个 BBU组成,在建网时可以预先设置资源池中的一个 BBU为主控 BBU ,也可以让一个资源池中的 BBU通过竞争产生一个主 控 BBU。其他的 BBU都为非主控的 BBU ,主控的 BBU和非主控的 BBU 可以进行通信,每个非主控的 BBU会将本 BBU下的物理端口的标识和 与所述物理端口的标识关联的逻辑端口的标识, 以及所述物理端口的使 用状态信息、 所述逻辑端口的使用状态信息、 所述物理端口下未分配的 带宽值和所述物理端口下的未分配的逻辑端口的数量上报给主控的 BBU。
对于有多个物理端口的 BBU 可以属于两个或者多个资源池 ,但 B B U上的每个物理端口只能属于一个资源池。
每个 BBU至少有一个物理端口 ,每个物理端口会有对应的带宽值, 如 10M/100M/1000M。 在每个物理端口上创建多个逻辑端口 ,可以为每 个逻辑端口设定带宽值,未分配的逻辑端口的默认带宽值为 0 ,可以在 为逻辑端口配置一定的带宽值后 ,分配给业务应用使用。 一个物理端口 上的所有逻辑端口的总带宽一般不能超过这儿物理端口的带宽。
本发明实施例中 ,每个 BBU的标识,每个物理端口的标识,每个 逻辑端口的标识都是唯一的。
202、 业务应用装置接收所述主控 BBU发送的带宽请求响应,所 述带宽请求响应中携带所述主控 BBU 分配的使用状态为未分配的逻辑 端口的标识和为所述使用状态为未分配的逻辑端口分配的带宽值。
203、 业务应用装置使用所述使用状态为未分配的逻辑端口进行数 据传输。
本发明实施例中 ,主控 BBU为业务应用装置分配了哪个逻辑端口 , 业务应用装置就使用哪个逻辑端口下的对应带宽值大小的带宽传输数 据。
本发明实施例中 ,根据数据传输业务需求, 向资源池中的主控基 带处理单元 BBU发送带宽请求,所述带宽请求中携带申请的带宽值;接 收所述主控 BBU发送的带宽请求响应,所述带宽请求响应中携带所述主 控 BBU 分配的使用状态为未分配的逻辑端口的标识和为所述使用状态 为未分配的逻辑端口分配的带宽值;使用所述使用状态为未分配的逻辑 端口进行数据传输。 本发明实施例提供的方案可以根据需求,动态的控 制带宽,提高了带宽的利用率。
可选地,在上述图 2 对应的实施例的基础上,本发明实施例提供 的传输带宽的控制方法的第一个可选实施例中 ,所述带宽请求中还携带 指定的 BBU的标识时,
所述接收所述主控 BBU发送的带宽请求响应,所述带宽请求响应 中携带所述主控 BBU 分配的使用状态为未分配的逻辑端口的标识和为 所述使用状态为未分配的逻辑端口分配的带宽值,可以包括:
接收所述主控 BBU发送的带宽响应,所述带宽响应中携带所述主 控 BBU分配的所述指定 BBU上的使用状态为未分配的逻辑端口的标识 和为所述使用状态为未分配的逻辑端口分配的带宽值;
对应的 ,所述使用所述使用状态为未分配的逻辑端口进行数据传 输,可以包括:
使用所述指定的 BBU上的所述使用状态为未分配的逻辑端口进行 数据传输。
本发明实施例中本发明实施例中 ,业务应用装置中可以关联存储 有主控 BBU中存储的各标识之前的关联,如表 1和表 2 ,主控 BBU会 将其他 BBU上报上来的信息主动发送给业务应用装置,也可以在业务应 用装置请求后发送给业务应用装置,业务应用装置也可以通过其他方式 获得以上标识的关联信息。
因此,在申请带宽时,业务应用装置可以指定要从哪个 BBU上申 请带宽, 当业务应用装置指定了申请带宽的 BBU时,主控 BBU就按照 业务应用装置的需求,优先从指定的 BBU上分配业务应用装置需要的带 宽,如果业务应用装置指定的 BBU 有多个可用物理端口属于该资源池 时,可以从该指定 BBU的一个可用物理端口下选择一个使用状态为未使 用的逻辑端口。
例如 : 当业务应用装置申请 BBU1 上的 20M带宽时,主控 BBU 会从 BBU1 上分配一个未被使用过的逻辑端口 1-1-1 ,并将该逻辑端口 1-1-1带宽值设置为 20M , 以供业务应用装置使用。
可选地,在上述图 2 对应的实施例的基础上,本发明实施例提供 的传输带宽的控制方法的第二个可选实施例中 ,所述带宽请求中还携带 指定的物理端口的标识;
所述接收所述主控 BBU发送的带宽请求响应,所述带宽请求响应 中携带所述主控 BBU 分配的使用状态为未分配的逻辑端口的标识和为 所述使用状态为未分配的逻辑端口分配的带宽值,可以包括:
接收所述主控 BBU发送的带宽响应,所述带宽响应中携带所述主 控 BBU 分配的所述指定物理端口下的使用状态为未分配的逻辑端口的 标识和为所述使用状态为未分配的逻辑端口分配的带宽值;
对应的 ,所述使用所述使用状态为未分配的逻辑端口进行数据传 输,可以包括:
使用所述指定的物理端口下的所述使用状态为未分配的逻辑端口 进行数据传输。
本发明实施例中 ,业务应用装置也可以直接指定由哪个物理端口 来提供带宽,当业务应用装置指定 BBU1下的 1-1物理端口为其提供 20M 带宽用于数据传输时,当物理端口 1-1的未分配带宽大于或者等于 20M , 且该物理端口 1-1下有未分配的逻辑端口时,主控 BBU可以选择物理端 口 1-1下的使用状态为未分配的逻辑端口 1-1-1为该业务应用装置提供带 宽,给该逻辑端口 1-1-1的带宽值设置为 20M。
可选地,在上述图 2对应的实施例及图 2对应的第一个或第二个 可选实施例的基础上,本发明实施例提供的传输带宽的控制方法的第三 个可选实施例还可以包括:
向所述业务应用装置发送的带宽增加请求, 所述带宽增加请求中 携带申请增加带宽的逻辑端口标识和申请增加的带宽值;
接收所述主控 BBU发送来的带宽增加成功响应,所述带宽增加成 功响应中携带所述申请增加带宽的逻辑端口的标识和所述更新后的带宽 值;
使用所述更新带宽值后的所述申请增加带宽的逻辑端口进行数据 传输。
本发明实施例中 , 当数据业务增加时 ,业务应用装置对带宽的需 求量增加 ,这样,业务应用装置可以向主控 BBU发送带宽增加请求,带 宽增加请求中携带申请增加带宽的逻辑端口标识和申请增加的带宽值。
如 :原来该业务应用装置已经申请了 20M的带宽,是由 BBU1的 逻辑端口 1-1-1为该业务应用装置提供的带宽,当主控 BBU接收到带宽 增加请求,请求增加逻辑端口 1-1-1上的 20Μ带宽时,主控 BBU确定该 逻辑端口 1-1-1所属的物理端口 1-1的未分配带宽大于或者等于 20Μ时, 该业务应用装置的带宽申请上限为 100M , 20Μ+20Μ=40Μ , 40Μ 小于 100M ,还没有达到业务应用装置的带宽申请上限,那么主控 BBU可以 将 BBU1的 1-1-1逻辑端口的带宽值设置为 40Μ。 带宽增加成功响应中 携带逻辑端口 1-1-1 的标识和更新后的带宽值 40Μ。 业务应用装置在接 收到带宽增加成功响应后可以直接使用逻辑端口 1-1-1传输 40Μ带宽的 数据。
可选地,在上述图 2对应的实施例及图 2对应的第一个或第二个 可选实施例的基础上,本发明实施例提供的传输带宽的控制方法的第四 个可选实施例还可以包括:
向所述业务应用装置发送带宽減少请求,所述带宽減少请求中携 带申请減少带宽的逻辑端口标识和申请減少的带宽值;
接收所述主控 BBU发送来的带宽減少成功的响应,所述带宽減少 成功响应中携带所述申请減少带宽的逻辑端口的标识和所述減少后的带 宽值;
使用所述減少带宽值后的所述申请減少带宽的逻辑端口进行数据 传输。
本发明实施例中 , 当业务应用装置的业务減少时 ,业务应用装置 会向主控 BBU发送带宽減少请求,带宽減少请求中携带申请減少带宽的 逻辑端口标识和申请減少的带宽值,这样主控 BBU就可以減少该申请減 少带宽的逻辑端口下的申请減少的带宽值。
如 :原来使用逻辑端口 1-1-1 ,带宽值为 50Μ ,请求減少 20Μ带 宽,那么主控 BBU就可以将逻辑端口 1-1-1的宽属性值调整为 30Μ。 那 么带宽減少成功的响应中携带逻辑端口 1-1-1的标识和 30Μ带宽值。
业务应用装置在接收到带宽減少成功的响应后 , 可以使用逻辑端 口 1-1-1传输 30Μ的带宽业务。
可选地,在上述图 2对应的实施例级图 2对应的第一个或第二个 可选实施例的基础上,本发明实施例提供的传输带宽的控制方法的第五 个可选实施例还可以包括:
向所述业务应用装置发送带宽释放请求,所述带宽释放请求中携 带申请释放的逻辑端口标识,以使所述主控 BBU释放所述申请释放的逻 辑端口 ;
接收所述主控 BBU发送的带宽释放成功的响应,所述带宽释放成 功响应中携带所述申请释放的逻辑端口的标识。
本发明实施例中 , 当业务应用装置的业务传输完毕时 ,业务应用 装置会向主控 BBU发送带宽释放请求,主控 BBU会根据业务应用装置 的请求,释放原来使用的逻辑端口 1-1-1 ,将逻辑端口 1-1-1的带宽值设 置为 0。
为了便于理解, 下面以一个具体的应用场景为例 ,说明本发明实 施例中传输带宽的控制方法的过程:
—个资源池中有 3个 BBU ,分别为 BBU1、 BBU2禾卩 BBU3 ,而且, BBU1、 BBU2和 BBU3都只有一个物理端口 ,当然,本应用场景中只是 举例说明 , 实际上一个资源池中会有更多的 BBU , 每个 BBU上也会有 多个物理端口。
资源池中的总的传输资源可以参阅表 3进行理解:
表 3 : 物理端 口表
Figure imgf000030_0001
表 4 : 逻辑端 口表
逻辑 所属 市宽 状态 业务应 端口 物理 (Μ) 用标识 标识 端 口
标识
1-1-1 1-1 0 未分配 Null 1-1-2 1-1 0 未分配 Null
• , , • , , • , , • , , • , ,
2-1-1 2-1 0 未分配 Null
2-1-2 2-1 0 未分配 Null
• , , • , , • , , • , , • , ,
3-1-1 3-1 0 未分配 Null
. , , . , , . , , . , , . , , 由表 3可读出 BBU1的总带宽为 100M , BBU2的总带宽为 100M , BBU3的总带宽为 1000M ,设置 BBU2为资源池的主控 BBU ,负责管理 资源池中所有物理端口资源,并处理业务用装置的带宽申请。
现假设有业务应用装置 APP1 ,业务应用装置 APP2 ,并且为两个 业务应用装置设定的带宽申请上限都为 200M。
业务应用装置 APP1 向 BBU2申请 BBU1 上的 50M带宽, BBU2 查看 50M未超出 APP1的带宽申请上限,BBU2分配 BBU1上的物理端 口 1-1下的状态为未分配的逻辑端口 1-1-1 ,并设置逻辑端口 1-1-1的带 宽值设置为 50M ,并把分配结果返回 APP1。 当 APP1的业务增加时,业 务应用装置 APP1向 BBU2申请增加 50M带宽时,申请中带有逻辑端口 标识 1-1-1 ,BBU2查看 APP1的已使用的逻辑端口带宽为 50M加上新申 请的 50M=100M小于 200M的带宽申请上限,并检查逻辑端口 1-1-1所 述的物理端口 1-1的未分配带宽为 50M ,可以满足增加申请的要求,将 逻辑端口 1-1-1的带宽值设置为 100M。 当业务继续增加时,业务应用装 置 APP1向 BBU2申请增加逻辑端口 1-1-1的 50M带宽, BBU2检查逻 辑端口 1-1-1所属的物理端口 1-1的未分配带宽为 0 ,本次申请增加带宽 失败。 APP1可以再次申请带宽 50M ,而不是申请增加带宽 50M。 主控 BBU2 查看 APP1 已使用的逻辑端口带宽值为 50M+50M=100M 小于 200M 的带宽申请上限,则选择资源池中的另一个物理端口 ,如物理端 口 2-1 ,并分配物理端口 2-1上的一个状态为未分配的逻辑端口 2-1-1 , 设置逻辑端口 2-1-1的带宽为 50 ,并返回申请响应。
如果 APP1再次申请 100M带宽,主控 BBU2检查 APP1已使用的 逻辑端口带宽为 100M+50M ,再加上申请的 100M大于 APP1 的带宽申 请上限 200M , BBU2 会返回申请失败,并给出失败原因。 这样, APP1 申请后可以使用的传输资源可以参阅表 5进行理解:
表 5 : APP 1申请后可使用的传输资源
Figure imgf000032_0001
APP1申请后传输资源池的资源状态参阅表 6和表 7来理 :
表 6 : APP 1申请后的资源池中物理端 口信息
Figure imgf000032_0002
表 7 : APP 1申请后的资源池中逻辑端 口信息 逻辑 所属 ΤΪ51宽 状态 业务应 端口 物理 (Μ) 用标识 标识 端 口
标识
1-1- 1 1-1 100 已分配 APP1
1-1-2 1-1 0 未分配 Null
... ... ... ... ...
2-1- 1 2-1 50 已分配 APP1
2-1-2 2-1 0 未分配 Null
> * . > * . > * . > * . > * . 3 - 1 - 1 3 - 1 0 未分配 N u l l
> * . > * . > * . > * . > * . 业务应用装置 APP2向 BBU2申请 BBU2上的 50M带宽, BBU2 查看 50M未超出 APP2的带宽申请上限,并且 BBU2上有未分配带宽为 50M的物理端口 2-1 ,主控 BBU2分配物理端口 2-1上的状态为未分配的 逻辑端口 2-1-2 ,并设置逻辑端口 2-1-2的带宽值为 50M , 向 APP2返回 申请响应。 当 APP2的业务增加时, APP2可以新申请 50M的带宽,或 者申请增加逻辑端口 2-1-2的带宽 50M ,在这个例子中申请增加逻辑端 口 2-1-2的 50M带宽会失败, 因为逻辑端口 2-1-2所属的物理端口 2-1 上的未分配带宽为 0。
当 APP1和 APP2业务量下降,可以向 BBU2申请減少已申请的带 宽或释放已申请的逻辑端口 ,具体減少带宽和释放逻辑端口的过程可以 参阅上面的例子进行理解,本处不做过多赘述。
参阅图 3 ,本发明实施例提供的 BBU为资源池中的多个 BBU的主 控 BBU ,所述 BBU的一实施例包括:
第一接收单元 301 ,用于同一资源池中的每个基带处理单元 BBU 上报的本 BBU 下的物理端口的标识和与所述物理端口的标识关联的逻 辑端口的标识, 以及所述物理端口的使用状态信息、 所述逻辑端口的使 用状态信息、 所述物理端口下未分配的带宽值和所述物理端口下的未分 配的逻辑端口的数量;
关联存储单元 302 ,用于关联存储所述第一接收单元 301接收到的 同一资源池中的每个基带处理单元 BBU上报的本 BBU下的物理端口的 标识和与所述物理端口的标识关联的逻辑端口的标识, 以及所述物理端 口的使用状态信息、 所述逻辑端口的使用状态信息、 所述物理端口下未 分配的带宽值和所述物理端口下的未分配的逻辑端口的数量;
所述第一接收单元 301 ,还用于接收业务应用装置的带宽请求,所 述带宽请求中携带所述业务应用装置申请的带宽值;
分配单元 303 ,用于根据所述第一接收单元 301接收到的所述申请 的带宽值, 为所述业务应用装置从所述同一资源池的所有物理端口中选 择使用状态为可用 ,未分配的带宽不小于所述申请的带宽值,并且未分 配逻辑端口数大于 0的一个物理端口 ,分配该物理端口下的一个使用状 态为未分配的逻辑端口 ,并设置所述使用状态为未分配的逻辑端口的带 宽值为所述申请的带宽值;
第一发送单元 304 ,用于向所述业务应用装置发送带宽请求响应, 所述带宽请求响应中携带所述使用状态为未分配的逻辑端口的标识和为 所述使用状态为未分配的逻辑端口分配的带宽值, 以使所述业务应用装 置使用所述使用状态为未分配的逻辑端口进行数据传输。
本发明实施例中 ,第一接收单元 301 接收同一资源池中的每个基 带处理单元 BBU上报的本 BBU下的物理端口的标识和与所述物理端口 的标识关联的逻辑端口的标识, 以及所述物理端口的使用状态信息、 所 述逻辑端口的使用状态信息、 所述物理端口下未分配的带宽值和所述物 理端口下的未分配的逻辑端口的数量;关联存储单元 302关联存储所述 第一接收单元 301接收到的同一资源池中的每个基带处理单元 BBU上报 的本 BBU 下的物理端口的标识和与所述物理端口的标识关联的逻辑端 口的标识, 以及所述物理端口的使用状态信息、 所述逻辑端口的使用状 态信息、 所述物理端口下未分配的带宽值和所述物理端口下的未分配的 逻辑端口的数量;所述第一接收单元 301还接收业务应用装置的带宽请 求,所述带宽请求中携带所述业务应用装置申请的带宽值;分配单元 303 根据所述第一接收单元 301接收到的所述申请的带宽值, 为所述业务应 用装置从所述同一资源池的所有物理端口中选择使用状态为可用 ,未分 配的带宽不小于所述申请的带宽值,并且未分配逻辑端口数大于 0的一 个物理端口 ,分配该物理端口下的一个使用状态为未分配的逻辑端口 , 并设置所述使用状态为未分配的逻辑端口的带宽值为所述申请的带宽 值;第一发送单元 304向所述业务应用装置发送带宽请求响应,所述带 宽请求响应中携带所述使用状态为未分配的逻辑端口的标识和为所述使 用状态为未分配的逻辑端口分配的带宽值, 以使所述业务应用装置使用 所述使用状态为未分配的逻辑端口进行数据传输。 与现有技术相比,本 发明实施例提供的 BBU可以动态控制带宽,从而提高带宽的利用率。
在上述图 3对应的实施例的基础上 ,本发明实施例提供 BBU的第 一个可选实施例中 ,
所述第一接收单元 301 ,还用于接收所述每个 BBU上报的本 BBU 的标识; 所述关联存储单元 302 ,还用于将所述第一接收单元 301接收的本 BBU的标识与所述本 BBU下的物理端口的标识关联存储;
所述带宽请求中还携带所述业务应用装置指定的 BBU的标识; 所述分配单元 303 ,用于根据所述指定的 BBU的标识和所述申请 的带宽值,为所述业务应用装置从所述指定的 BBU下的物理端口中选择 使用状态为可用 ,未分配的带宽不小于所述申请的带宽值,并且未分配 逻辑端口数大于 0的一个物理端口 ,分配该物理端口下的一个使用状态 为未分配的逻辑端口 ,并设置所述使用状态为未分配的逻辑端口的带宽 值为所述申请的带宽值。
在上述图 3对应的实施例的基础上 ,本发明实施例提供 BBU的第 二个可选实施例中 ,所述带宽请求中还携带所述业务应用装置指定的物 理端口的标识;
所述分配单元 303 ,用于根据所述指定的物理端口的标识和所述申 请的带宽值, 为所述业务应用装置在所述指定的物理端口的未分配带宽 不小于所述申请的带宽值,并且所述指定的物理端口下的未分配的逻辑 端口数大于 0的情况下,分配一个使用状态为未分配的逻辑端口 ,并设 置所述使用状态为未分配的逻辑端口的带宽值为所述申请的带宽值。
在上述图 3对应的实施例及图 3对应的第一个或者第二个可选实 施例的基础上 ,参阅图 4 ,本发明实施例提供的第三个可选实施例还包 括:
设置单元 305 ,用于将分配单元 303分配给所述业务应用装置的所 述使用状态为未分配的逻辑端口的使用状态设置为已分配;
修改单元 306 ,用于修改所述使用状态为未分配的逻辑端口所属的 物理端口的未分配带宽值为原未分配带宽值減去所述申请的带宽值;并 修改所述使用状态为未分配的逻辑端口所属的物理端口下的所述未分配 逻辑端口的数量为原未分配逻辑端口数減 1。
在上述图 3对应的实施例及图 3对应的第一个或者第二个可选实 施例的基础上 ,本发明实施例提供的第四个可选实施例中 ,
所述关联存储单元 302 ,还用于关联存储所述业务应用装置的标 识、 已给所述业务应用装置分配的逻辑端口的标识和总带宽值。
在上述第四个可选实施例的基础上 ,本发明实施例提供的第五个 可选实施例中 , 当所述业务应用装置有带宽申请上限时, 所述分配单元 303 ,用于确定所述申请的带宽值不大于所述带宽申 请上限,且所述申请的带宽值与所述业务应用装置已使用的所有逻辑端 口的带宽的和不大于所述带宽申请上限时,根据所述申请的带宽值, 为 所述业务应用装置从所述同一资源池的所有物理端口中选择使用状态为 可用 ,未分配的带宽不小于所述申请的带宽值,并且未分配逻辑端口数 大于 0的一个物理端口 ,分配该物理端口下的一个使用状态为未分配的 逻辑端口 ,并设置所述使用状态为未分配的逻辑端口的带宽值为所述申 请的带宽值。
在上述第五个可选实施例的基础上 , 本发明实施例提供的第六个 可选实施例中 ,
所述第一接收单元 301 ,还用于接收所述业务应用装置发送的带宽 增加请求,所述带宽增加请求中携带申请增加带宽的逻辑端口标识和申 请增加的带宽值;
所述分配单元 303 ,还用于根据所述申请增加带宽的逻辑端口标识 和申请增加的带宽值,在所述申请增加带宽的逻辑端口所属的物理端口 下的未分配带宽不小于所述申请增加的带宽值,并且原来为所述申请增 加带宽的逻辑端口分配的带宽与所述申请增加到带宽值的和不大于所述 带宽申请上限时,更新所述申请增加带宽的逻辑端口的带宽值为所述申 请增加带宽的逻辑端口原来已分配的带宽值和所述申请增加的带宽值之 和 ;
所述修改单元 306 ,用于修改所述申请增加带宽的逻辑端口所属的 物理端口下的未分配带宽值为原来未分配带宽值減去所述申请增加的带 宽值;
所述第一发送单元 304 ,还用于向所述业务应用装置发送带宽增加 成功响应,所述带宽增加成功响应中携带所述申请增加带宽的逻辑端口 的标识和所述更新后的带宽值。
在上述第三个至第六个可选实施例中任意一可选实施例的基础 上 ,本发明实施例提供的第七个可选实施例中 ,
所述第一接收单元 301 ,还用于接收所述业务应用装置发送的带宽 減少请求,所述带宽減少请求中携带申请減少带宽的逻辑端口标识和申 请減少的带宽值;
所述分配单元 303 ,还用于根据所述申请減少带宽的逻辑端口标识 和申请減少的带宽值,将所述申请減少带宽的逻辑端口的带宽值減少所 述申请減少的带宽值;
所述修改单元 306 ,还用于修改所述申请減少带宽的逻辑端口所属 的物理端口的未分配带宽值为原未分配带宽值加上所述申请減少的带宽 值;
所述第一发送单元 304 ,还用于向所述业务应用装置发送带宽減少 成功响应,所述带宽減少成功响应中携带所述申请減少带宽的逻辑端口 的标识和所述減少后的带宽值。
在上述第三个至第七个可选实施例中任意一可选实施例的基础 上 ,本发明实施例提供的第八个可选实施例中 ,
所述第一接收单元 301 ,还用于接收所述业务应用装置发送的带宽 释放请求,所述带宽释放请求中携带申请释放的逻辑端口标识;
所述分配单元 303 ,还用于根据所述申请释放的逻辑端口标识,释 放所述申请释放的逻辑端口 ;
所述修改单元 306 ,还用于修改所述申请释放的逻辑端口所属的物 理端口下的未分配带宽为原未分配带宽值与申请释放的逻辑端口的带宽 值之和 ,并修改所述申请释放的逻辑端口的状态为未分配,设置所述申 请释放的逻辑端口的带宽值为零;
所述第一发送单元 304 ,还用于向所述业务应用装置发送带宽释放 成功响应,所述带宽释放成功响应中携带所述申请释放的逻辑端口的标 识。
参阅图 5 ,本发明实施例提供的业务应用装置的一实施例包括: 第二发送单元 401 ,用于根据数据传输业务需求,向资源池中的主 控基带处理单元 BBU 发送带宽请求,所述带宽请求中携带申请的带宽 值;
第二接收单元 402 ,用于接收所述主控 BBU发送的带宽请求响应, 所述带宽请求响应中携带所述主控 BBU 分配的使用状态为未分配的逻 辑端口的标识和为所述使用状态为未分配的逻辑端口分配的带宽值; 传输单元 403 ,用于使用所述第二接收单元 402接收到的所述使用 状态为未分配的逻辑端口进行数据传输。
本发明实施例中 ,第二发送单元 401 根据数据传输业务需求, 向 资源池中的主控基带处理单元 BBU发送带宽请求,所述带宽请求中携带 申请的带宽值;第二接收单元 402接收所述主控 BBU发送的带宽请求响 应,所述带宽请求响应中携带所述主控 BBU分配的使用状态为未分配的 逻辑端口的标识和为所述使用状态为未分配的逻辑端口分配的带宽值; 传输单元 403使用所述第二接收单元 402接收到的所述使用状态为未分 配的逻辑端口进行数据传输。 与现有技术相比,本发明实施例提供的业 务应用装置,可以动态申请调整带宽,从而提高了带宽的利用率。
在上述图 5 对应的实施例的基础上,本发明实施例提供的业务应 用装置的第一个可选实施例中 ,所述带宽请求中还携带指定的 BBU的标 识时,
所述第二接收单元 402 ,用于接收所述主控 BBU发送的带宽响应, 所述带宽响应中携带所述主控 BBU分配的所述指定 BBU上的使用状态 为未分配的逻辑端口的标识和为所述使用状态为未分配的逻辑端口分配 的带宽值;
所述传输单元 403 ,用于使用所述第二接收单元 402接收到的所述 指定的 BBU上的所述使用状态为未分配的逻辑端口进行数据传输。
在上述图 5 对应的实施例的基础上,本发明实施例提供的业务应 用装置的第二个可选实施例中 ,所述带宽请求中还携带指定的物理端口 的标识;
所述第二接收单元 402 ,用于接收所述主控 BBU发送的带宽响应, 所述带宽响应中携带所述主控 BBU 分配的所述指定物理端口下的使用 状态为未分配的逻辑端口的标识和为所述使用状态为未分配的逻辑端口 分配的带宽值;
所述传输单元 403 ,用于使用所述第二接收单元 402接收到的所述 指定的物理端口下的所述使用状态为未分配的逻辑端口进行数据传输。
在上述图 5 对应的任意一个实施例的基础上,本发明实施例提供 的业务应用装置的第三个可选实施例中 ,
所述第二发送单元 401 ,还用于向所述业务应用装置发送的带宽增 加请求,所述带宽增加请求中携带申请增加带宽的逻辑端口标识和申请 增加的带宽值;
所述第二接收单元 402 ,还用于接收所述主控 BBU发送来的带宽 增加成功响应,所述带宽增加成功响应中携带所述申请增加带宽的逻辑 端口的标识和所述更新后的带宽值; 所述传输单元 403 ,还用于使用所述更新带宽值后的所述申请增加 带宽的逻辑端口进行数据传输。
在上述图 5 对应的任意一个实施例的基础上,本发明实施例提供 的业务应用装置的第五个可选实施例中 ,
所述第二发送单元 401 ,还用于向所述业务应用装置发送带宽減少 请求,所述带宽減少请求中携带申请減少带宽的逻辑端口标识和申请減 少的带宽值;
所述第二接收单元 402 ,还用于接收所述主控 BBU发送来的带宽 減少成功的响应,所述带宽減少成功响应中携带所述申请減少带宽的逻 辑端口的标识和所述減少后的带宽值;
所述传输单元 403 ,还用于使用所述減少带宽值后的所述申请減少 带宽的逻辑端口进行数据传输。
在上述图 5 对应的任意一个实施例的基础上,本发明实施例提供 的业务应用装置的第六个可选实施例中 ,
所述第二发送单元 401 ,还用于向所述业务应用装置发送带宽释放 请求,所述带宽释放请求中携带申请释放的逻辑端口标识, 以使所述主 控 BBU释放所述申请释放的逻辑端口 ;
所述第二接收单元 402 ,还用于接收所述主控 BBU发送的带宽释 放成功的响应,所述带宽释放成功响应中携带所述申请释放的逻辑端口 的标识。
本发明实施例还提供一种计算机存储介质, 该计算机存储介质存 储有程序,该程序执行时包括上述主控 BBU侧的传输带宽的控制的部分 或者全部步骤。
本发明实施例还提供一种计算机存储介质, 该计算机存储介质存 储有程序 ,该程序执行时包括上述业务应用装置侧的传输带宽的控制的 部分或者全部步骤。
参阅图 6 ,本发明实施例提供的 BBU的一实施例包括:第一接收 器 310、 第一发送器 320、 第一存储器 330和第一处理器 340 ;
第一接收器 310、 第一发送器 320、 第一存储器 330和第一处理器 340通过总线或者其他方式连接;
其中 ,所述第一接收器 310 ,用于接收同一资源池中的每个基带处 理单元 BBU上报的本 BBU下的物理端口的标识和与所述物理端口的标 识关联的逻辑端口的标识, 以及所述物理端口的使用状态信息、 所述逻 辑端口的使用状态信息、 所述物理端口下未分配的带宽值和所述物理端 口下的未分配的逻辑端口的数量;
所述第一存储器 330 ,用于关联存储同一资源池中的每个基带处理 单元 BBU上报的本 BBU下的物理端口的标识和与所述物理端口的标识 关联的逻辑端口的标识, 以及所述物理端口的使用状态信息、 所述逻辑 端口的使用状态信息、 所述物理端口下未分配的带宽值和所述物理端口 下的未分配的逻辑端口的数量;
所述第一接收器 310 ,用于接收业务应用装置的带宽请求,所述带 宽请求中携带所述业务应用装置申请的带宽值;
所述第一处理器 340 ,用于根据所述申请的带宽值,为所述业务应 用装置从所述同一资源池的所有物理端口中选择使用状态为可用 ,未分 配的带宽不小于所述申请的带宽值,并且未分配逻辑端口数大于 0的一 个物理端口 ,分配该物理端口下的一个使用状态为未分配的逻辑端口 , 并设置所述使用状态为未分配的逻辑端口的带宽值为所述申请的带宽 值;
所述第一发送器 320 ,用于向所述业务应用装置发送带宽请求响 应,所述带宽请求响应中携带所述使用状态为未分配的逻辑端口的标识 和为所述使用状态为未分配的逻辑端口分配的带宽值, 以使所述业务应 用装置使用所述使用状态为未分配的逻辑端口进行数据传输。
本发明一些实施例中 ,所述第一接收器 310 ,还用于接收所述每个 BBU上报的本 BBU的标识;
所述第一存储器 330 ,还用于将所述本 BBU的标识与所述本 BBU 下的物理端口的标识关联存储;
所述带宽请求中还携带所述业务应用装置指定的 BBU的标识; 所述第一处理器 340 ,根据所述指定的 BBU的标识和所述申请的 带宽值,为所述业务应用装置从所述指定的 BBU下的物理端口中选择使 用状态为可用 ,未分配的带宽不小于所述申请的带宽值,并且未分配逻 辑端口数大于 0的一个物理端口 ,分配该物理端口下的一个使用状态为 未分配的逻辑端口 ,并设置所述使用状态为未分配的逻辑端口的带宽值 为所述申请的带宽值。
本发明一些实施例中 ,所述带宽请求中还携带所述业务应用装置 指定的物理端口的标识;
所述第一处理器 340 ,用于根据所述指定的物理端口的标识和所述 申请的带宽值, 为所述业务应用装置在所述指定的物理端口的未分配带 宽不小于所述申请的带宽值,并且所述指定的物理端口下的未分配的逻 辑端口数大于 0的情况下 ,分配一个使用状态为未分配的逻辑端口 ,并 设置所述使用状态为未分配的逻辑端口的带宽值为所述申请的带宽值。
本发明一些实施例中 ,所述第一处理器 340 ,还用于将分配给所述 业务应用装置的所述使用状态为未分配的逻辑端口的使用状态设置为已 分配;修改所述使用状态为未分配的逻辑端口所属的物理端口的未分配 带宽值为原未分配带宽值減去所述申请的带宽值;修改所述使用状态为 未分配的逻辑端口所属的物理端口下的所述未分配逻辑端口的数量为原 未分配逻辑端口数減 1。
本发明一些实施例中 ,所述第一存储器 330 ,还用于关联存储所述 业务应用装置的标识、 已给所述业务应用装置分配的逻辑端口的标识和 对应已分配的所述逻辑端口的带宽值。
本发明一些实施例中 , 当所述业务应用装置有带宽申请上限时, 所述第一处理器 340 ,还用于确定所述申请的带宽值不大于所述带宽申 请上限,且所述申请的带宽值与所述业务应用装置已使用的所有逻辑端 口的带宽的和不大于所述带宽申请上限时,根据所述申请的带宽值, 为 所述业务应用装置从所述同一资源池的所有物理端口中选择使用状态为 可用 ,未分配的带宽不小于所述申请的带宽值,并且未分配逻辑端口数 大于 0的一个物理端口 ,分配该物理端口下的一个使用状态为未分配的 逻辑端口 ,并设置所述使用状态为未分配的逻辑端口的带宽值为所述申 请的带宽值。
本发明一些实施例中 ,所述第一接收器 310 ,还用于接收所述业务 应用装置发送的带宽增加请求,所述带宽增加请求中携带申请增加带宽 的逻辑端口标识和申请增加的带宽值;
所述第一处理器 340 ,还用于根据所述申请增加带宽的逻辑端口标 识和申请增加的带宽值,在所述申请增加带宽的逻辑端口所属的物理端 口下的未分配带宽不小于所述申请增加的带宽值,并且原来为所述申请 增加带宽的逻辑端口分配的带宽与所述申请增加到带宽值的和不大于所 述带宽申请上限时,更新所述申请增加带宽的逻辑端口的带宽值为所述 申请增加带宽的逻辑端口原来已分配的带宽值和所述申请增加的带宽值 之和;修改所述申请增加带宽的逻辑端口所属的物理端口下的未分配带 宽值为原来未分配带宽值減去所述申请增加的带宽值;
所述第一发送器 320 ,还用于向所述业务应用装置发送带宽增加成 功响应,所述带宽增加成功响应中携带所述申请增加带宽的逻辑端口的 标识和所述更新后的带宽值。
本发明一些实施例中 ,所述第一接收器 310 ,还用于接收所述业务 应用装置发送的带宽減少请求,所述带宽減少请求中携带申请減少带宽 的逻辑端口标识和申请減少的带宽值;
所述第一处理器 340 ,还用于根据所述申请減少带宽的逻辑端口标 识和申请減少的带宽值,将所述申请減少带宽的逻辑端口的带宽值減少 所述申请減少的带宽值;修改所述申请減少带宽的逻辑端口所属的物理 端口的未分配带宽值为原未分配带宽值加上所述申请減少的带宽值; 所述第一发送器 320 ,还用于向所述业务应用装置发送带宽減少成 功响应,所述带宽減少成功响应中携带所述申请減少带宽的逻辑端口的 标识和所述減少后的带宽值。
本发明一些实施例中 ,所述第一发送器 320 ,还用于接收所述业务 应用装置发送的带宽释放请求,所述带宽释放请求中携带申请释放的逻 辑端口标识;所述第一处理器 340 ,还用于根据所述申请释放的逻辑端 口标识,释放所述申请释放的逻辑端口 ;修改所述申请释放的逻辑端口 所属的物理端口下的未分配带宽为原未分配带宽值与申请释放的逻辑端 口的带宽值之和 ;修改所述申请释放的逻辑端口的状态为未分配,设置 所述申请释放的逻辑端口的带宽值为零;
所述第一发送器 320 ,还用于向所述业务应用装置发送带宽释放成 功响应,所述带宽释放成功响应中携带所述申请释放的逻辑端口的标识。
参阅图 7 ,本发明实施例提供的业务应用装置的一实施例包括:第 二接收器 410、 第二发送器 420、 第二存储器 430和第二处理器 440; 第二接收器 410、 第二发送器 420、 第二存储器 430和第二处理器 440通过总线或者其他方式连接。
其中 ,所述第二发送器 420 ,用于根据数据传输业务需求,向资源 池中的主控基带处理单元 BBU发送带宽请求,所述带宽请求中携带申请 的带宽值; 所述第二接收器 410 ,用于接收所述主控 BBU发送的带宽请求响 应,所述带宽请求响应中携带所述主控 BBU分配的使用状态为未分配的 逻辑端口的标识和为所述使用状态为未分配的逻辑端口分配的带宽值; 所述第二处理器 440 ,用于使用所述使用状态为未分配的逻辑端口 进行数据传输。
本发明一些实施例中 ,所述带宽请求中还携带指定的 BBU的标识 时,
所述第二接收器 410 ,用于接收所述主控 BBU发送的带宽响应, 所述带宽响应中携带所述主控 BBU分配的所述指定 BBU上的使用状态 为未分配的逻辑端口的标识和为所述使用状态为未分配的逻辑端口分配 的带宽值;
所述第二处理器 440 ,用于使用所述指定的 BBU上的所述使用状 态为未分配的逻辑端口进行数据传输。
本发明一些实施例中 , 所述带宽请求中还携带指定的物理端口的 标识;
所述第二接收器 410 ,用于接收所述主控 BBU发送的带宽响应, 所述带宽响应中携带所述主控 BBU 分配的所述指定物理端口下的使用 状态为未分配的逻辑端口的标识和为所述使用状态为未分配的逻辑端口 分配的带宽值;
所述第二处理器 440 ,用于使用所述指定的物理端口下的所述使用 状态为未分配的逻辑端口进行数据传输。
本发明一些实施例中 ,所述第二发送器 420 ,还用于向所述业务应 用装置发送的带宽增加请求,所述带宽增加请求中携带申请增加带宽的 逻辑端口标识和申请增加的带宽值;
所述第二接收器 410 ,还用于接收所述主控 BBU发送来的带宽增 加成功响应,所述带宽增加成功响应中携带所述申请增加带宽的逻辑端 口的标识和所述更新后的带宽值;
所述第二处理器 440 ,还用于使用所述更新带宽值后的所述申请增 加带宽的逻辑端口进行数据传输。
本发明一些实施例中 ,所述第二发送器 420 ,还用于向所述业务应 用装置发送带宽減少请求,所述带宽減少请求中携带申请減少带宽的逻 辑端口标识和申请減少的带宽值; 所述第二接收器 410 ,还用于接收所述主控 BBU发送来的带宽減 少成功的响应,所述带宽減少成功响应中携带所述申请減少带宽的逻辑 端口的标识和所述減少后的带宽值;
所述第二处理器 440 ,还用于使用所述減少带宽值后的所述申请減 少带宽的逻辑端口进行数据传输。
本发明一些实施例中 ,所述第二发送器 420 ,还用于向所述业务应 用装置发送带宽释放请求,所述带宽释放请求中携带申请释放的逻辑端 口标识, 以使所述主控 BBU释放所述申请释放的逻辑端口 ;
所述第二接收器 410 ,还用于接收所述主控 BBU发送的带宽释放 成功的响应,所述带宽释放成功响应中携带所述申请释放的逻辑端口的 标识。
参阅图 8 ,本发明实施例提供的传输带宽控制系统中的一实施例包 括至少一个资源池,每个资源池中包含多个 BBU和多个业务应用装置, 其中一个 BBU为主控 BBU ,其他非主控 BBU向所述主控 BBU上报的 本 BBU 下的物理端口的标识和与所述物理端口的标识关联的逻辑端口 的标识, 以及所述物理端口的使用状态信息、 所述逻辑端口的使用状态 信息、 所述物理端口下未分配的带宽值和所述物理端口下的未分配的逻 辑端口的数量;每个 BBU上包含至少一个物理端口 ,一个物理端口只能 属于一个资源池;一个 BBU可以属于多个资源池和每个物理端口上的总 逻辑端口数量。
所述主控 BBU30 ,用于接收并关联存储同一资源池中的每个基带 处理单元 BBU上报的本 BBU下的物理端口的标识和与所述物理端口的 标识关联的逻辑端口的标识, 以及所述物理端口的使用状态信息、 所述 逻辑端口的使用状态信息、 所述物理端口下未分配的带宽值和所述物理 端口下的未分配的逻辑端口的数量;接收业务应用装置的带宽请求,所 述带宽请求中携带申请的带宽值;根据所述申请的带宽值, 为所述业务 应用装置从所述同一资源池的所有物理端口中选择使用状态为可用 ,未 分配的带宽不小于所述申请的带宽值,并且未分配逻辑端口数大于 0的 一个物理端口 ,分配该物理端口下的一个使用状态为未分配的逻辑端口 , 并设置所述使用状态为未分配的逻辑端口的带宽值为所述申请的带宽 值; 向所述业务应用装置发送带宽请求响应,所述带宽请求响应中携带 所述使用状态为未分配的逻辑端口的标识和为所述使用状态为未分配的 逻辑端口分配的带宽值, 以使所述业务应用装置使用所述使用状态为未 分配的逻辑端口进行数据传输。
业务应用装置 40 ,用于根据数据传输业务需求, 向资源池中的主 控基带处理单元 BBU 发送带宽请求,所述带宽请求中携带申请的带宽 值;接收所述主控 BBU发送的带宽请求响应,所述带宽请求响应中携带 所述主控 BBU 分配的使用状态为未分配的逻辑端口的标识和为所述使 用状态为未分配的逻辑端口分配的带宽值;使用所述使用状态为未分配 的逻辑端口进行数据传输。
参阅图 9 ,本发明实施例提供的传输带宽控制系统中的一实施例包 括:多个 BBU组成一个资源池, BBU和 swith交换网络通信, BBU和 无线射频拉远单元(Radio Remote Unit , RRU )通信,可以理解为多个 BBU组成的资源池、 swith交换网络通信、 RRU系统构成基站云系统, 基站云系统外与传输汇聚装置通信,传输汇聚装置与 RNC、 MME或者 GW通信,用户端发起的数据业务可以通过 RNC、 MME或者 GW ,传 输汇聚装置传送到基站云系统进行通信。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或 部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于 一计算机可读存储介质中 ,存储介质可以包括: ROM、 RAM, 磁盘或光 以上对本发明实施例所提供的传输带宽的控制方法、 装置以及系 统进行了详细介绍 ,本文中应用了具体个例对本发明的原理及实施方式 进行了阐述, 以上实施例的说明只是用于帮助理解本发明的方法及其核 心思想; 同时,对于本领域的一般技术人员 ,依据本发明的思想,在具 体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不 应理解为对本发明的限制。

Claims

权 利 要 求 书
1、 一种传输带宽的控制方法,其特征在于,包括:
接收并关联存储同一资源池中的每个基带处理单元 BBU上报的本 BBU下的 物理端口的标识和与所述物理端口的标识关联的逻辑端口的标识,以及所述物 理端口的使用状态信息、 所述逻辑端口的使用状态信息、 所述物理端口下未分 配的带宽值和所述物理端口下的未分配的逻辑端口的数量;
接收业务应用装置的带宽请求,所述带宽请求中携带申请的带宽值; 根据所述申请的带宽值,为所述业务应用装置从所述同一资源池的所有物 理端口中选择使用状态为可用,未分配的带宽不小于所述申请的带宽值,并且 未分配逻辑端口数大于 0的一个物理端口 ,分配该物理端口下的一个使用状态为 未分配的逻辑端口 ,并设置所述使用状态为未分配的逻辑端口的带宽值为所述 申请的带宽值;
向所述业务应用装置发送带宽请求响应,所述带宽请求响应中携带所述使 用状态为未分配的逻辑端口的标识和为所述使用状态为未分配的逻辑端口分配 的带宽值,以使所述业务应用装置使用所述使用状态为未分配的逻辑端口进行 数据传输。
2、 根据权利要求 1所述的方法,其特征在于,所述方法还包括:
接收所述每个 BBU上报的本 BBU的标识,并将所述本 BBU的标识与所述本 BBU下的物理端口的标识关联存储;
所述带宽请求中还携带所述业务应用装置指定的 BBU的标识;
所述根据所述申请的带宽值,为所述业务应用装置从所述同一资源池的所 有物理端口中选择使用状态为可用,未分配的带宽不小于所述申请的带宽值, 并且未分配逻辑端口数大于 0的一个物理端口 ,分配该物理端口下的一个使用状 态为未分配的逻辑端口 ,并设置所述使用状态为未分配的逻辑端口的带宽值为 所述申请的带宽值,包括:
根据所述指定的 BBU的标识和所述申请的带宽值,为所述业务应用装置从 所述指定的 BBU下的物理端口中选择使用状态为可用,未分配的带宽不小于所 述申请的带宽值,并且未分配逻辑端口数大于 0的一个物理端口 ,分配该物理端 口下的一个使用状态为未分配的逻辑端口 ,并设置所述使用状态为未分配的逻 辑端口的带宽值为所述申请的带宽值。
3、 根据权利要求 1所述的方法,其特征在于,所述带宽请求中还携带所述 业务应用装置指定的物理端口的标识;
所述根据所述申请的带宽值,为所述业务应用装置从所述同一资源池的所 有物理端口中选择使用状态为可用,未分配的带宽不小于所述申请的带宽值, 并且未分配逻辑端口数大于 0的一个物理端口 ,分配该物理端口下的一个使用状 态为未分配的逻辑端口 ,并设置所述使用状态为未分配的逻辑端口的带宽值为 所述申请的带宽值,包括:
根据所述指定的物理端口的标识和所述申请的带宽值,为所述业务应用装 置在所述指定的物理端口的未分配带宽不小于所述申请的带宽值,并且所述指 定的物理端口下的未分配的逻辑端口数大于 0的情况下,分配一个使用状态为未 分配的逻辑端口 ,并设置所述使用状态为未分配的逻辑端口的带宽值为所述申 请的带宽值。
4、 根据权利要求 1~3任意一项所述的方法,其特征在于,所述方法还包括: 将分配给所述业务应用装置的所述使用状态为未分配的逻辑端口的使用状 态设置为已分配;
修改所述使用状态为未分配的逻辑端口所属的物理端口的未分配带宽值为 原未分配带宽值減去所述申请的带宽值;
修改所述使用状态为未分配的逻辑端口所属的物理端口下的所述未分配逻 辑端口的数量为原未分配逻辑端口数減 1。
5、 根据权利要求 1~3任意一项所述的方法,其特征在于,所述方法还包括: 关联存储所述业务应用装置的标识、 已给所述业务应用装置分配的逻辑端 口的标识和对应已分配的所述逻辑端口的带宽值。
6、 根据权利要求 5所述的方法,其特征在于, 当所述业务应用装置有带宽 申请上限时,所述根据所述申请的带宽值,为所述业务应用装置从所述同一资 源池的所有物理端口中选择使用状态为可用,未分配的带宽不小于所述申请的 带宽值,并且未分配逻辑端口数大于 0的一个物理端口 ,分配该物理端口下的一 个使用状态为未分配的逻辑端口 ,并设置所述使用状态为未分配的逻辑端口的 带宽值为所述申请的带宽值,包括: 确定所述申请的带宽值不大于所述带宽申请上限,且所述申请的带宽值与 所述业务应用装置已使用的所有逻辑端口的带宽的和不大于所述带宽申请上限 时,根据所述申请的带宽值,为所述业务应用装置从所述同一资源池的所有物 理端口中选择使用状态为可用,未分配的带宽不小于所述申请的带宽值,并且 未分配逻辑端口数大于 0的一个物理端口 ,分配该物理端口下的一个使用状态为 未分配的逻辑端口 ,并设置所述使用状态为未分配的逻辑端口的带宽值为所述 申请的带宽值。
7、 根据权利要求 6所述的方法,其特征在于,所述方法还包括:
接收所述业务应用装置发送的带宽增加请求,所述带宽增加请求中携带申 请增加带宽的逻辑端口标识和申请增加的带宽值;
根据所述申请增加带宽的逻辑端口标识和申请增加的带宽值,在所述申请 增加带宽的逻辑端口所属的物理端口下的未分配带宽不小于所述申请增加的带 宽值,并且原来为所述申请增加带宽的逻辑端口分配的带宽与所述申请增加到 带宽值的和不大于所述带宽申请上限时,更新所述申请增加带宽的逻辑端口的 带宽值为所述申请增加带宽的逻辑端口原来已分配的带宽值和所述申请增加的 带宽值之和;
修改所述申请增加带宽的逻辑端口所属的物理端口下的未分配带宽值为原 来未分配带宽值減去所述申请增加的带宽值;
向所述业务应用装置发送带宽增加成功响应,所述带宽增加成功响应中携 带所述申请增加带宽的逻辑端口的标识和所述更新后的带宽值。
8、 根据权利要求 4~7任意一项所述的方法,其特征在于,所述方法还包括: 接收所述业务应用装置发送的带宽減少请求,所述带宽減少请求中携带申 请減少带宽的逻辑端口标识和申请減少的带宽值;
根据所述申请減少带宽的逻辑端口标识和申请減少的带宽值,将所述申请 減少带宽的逻辑端口的带宽值減少所述申请減少的带宽值;
修改所述申请減少带宽的逻辑端口所属的物理端口的未分配带宽值为原未 分配带宽值加上所述申请減少的带宽值;
向所述业务应用装置发送带宽減少成功响应,所述带宽減少成功响应中携 带所述申请減少带宽的逻辑端口的标识和所述減少后的带宽值。
9、 根据权利要求 4~8任意一项所述的方法,其特征在于,所述方法还包括: 接收所述业务应用装置发送的带宽释放请求,所述带宽释放请求中携带申 请释放的逻辑端口标识;
根据所述申请释放的逻辑端口标识,释放所述申请释放的逻辑端口; 修改所述申请释放的逻辑端口所属的物理端口下的未分配带宽为原未分配 带宽值与申请释放的逻辑端口的带宽值之和;
修改所述申请释放的逻辑端口的状态为未分配,设置所述申请释放的逻辑 端口的带宽值为零;
向所述业务应用装置发送带宽释放成功响应,所述带宽释放成功响应中携 带所述申请释放的逻辑端口的标识。
10、 一种传输带宽的控制方法,其特征在于,包括:
根据数据传输业务需求,向资源池中的主控基带处理单元 BBU发送带宽请 求,所述带宽请求中携带申请的带宽值;
接收所述主控 BBU发送的带宽请求响应,所述带宽请求响应中携带所述主 控 BBU分配的使用状态为未分配的逻辑端口的标识和为所述使用状态为未分配 的逻辑端口分配的带宽值;
使用所述使用状态为未分配的逻辑端口进行数据传输。
11、 根据权利要求 10所述的方法,其特征在于,所述带宽请求中还携带指 定的 BBU的标识时,
所述接收所述主控 BBU发送的带宽请求响应,所述带宽请求响应中携带所 述主控 BBU分配的使用状态为未分配的逻辑端口的标识和为所述使用状态为未 分配的逻辑端口分配的带宽值,包括:
接收所述主控 BBU发送的带宽响应,所述带宽响应中携带所述主控 BBU分 配的所述指定 BBU上的使用状态为未分配的逻辑端口的标识和为所述使用状态 为未分配的逻辑端口分配的带宽值;
对应的,所述使用所述使用状态为未分配的逻辑端口进行数据传输,包括: 使用所述指定的 BBU上的所述使用状态为未分配的逻辑端口进行数据传 输。
12、 根据权利要求 10所述的方法,其特征在于,所述带宽请求中还携带指 定的物理端口的标识;
所述接收所述主控 BBU发送的带宽请求响应,所述带宽请求响应中携带所 述主控 BBU分配的使用状态为未分配的逻辑端口的标识和为所述使用状态为未 分配的逻辑端口分配的带宽值,包括:
接收所述主控 BBU发送的带宽响应,所述带宽响应中携带所述主控 BBU分 配的所述指定物理端口下的使用状态为未分配的逻辑端口的标识和为所述使用 状态为未分配的逻辑端口分配的带宽值;
对应的,所述使用所述使用状态为未分配的逻辑端口进行数据传输,包括: 使用所述指定的物理端口下的所述使用状态为未分配的逻辑端口进行数据 传输。
13、 根据权利要求 10~12任意一项所述的方法,其特征在于,所述方法还包 括:
向所述业务应用装置发送的带宽增加请求,所述带宽增加请求中携带申请 增加带宽的逻辑端口标识和申请增加的带宽值;
接收所述主控 BBU发送来的带宽增加成功响应,所述带宽增加成功响应中 携带所述申请增加带宽的逻辑端口的标识和所述更新后的带宽值;
使用所述更新带宽值后的所述申请增加带宽的逻辑端口进行数据传输。
14、 根据权利要求 10~12任意一项所述的方法,其特征在于,所述方法还包 括:
向所述业务应用装置发送带宽減少请求,所述带宽減少请求中携带申请減 少带宽的逻辑端口标识和申请減少的带宽值;
接收所述主控 BBU发送来的带宽減少成功的响应,所述带宽減少成功响应 中携带所述申请減少带宽的逻辑端口的标识和所述減少后的带宽值;
使用所述減少带宽值后的所述申请減少带宽的逻辑端口进行数据传输。
15、 根据权利要求 10~12任意一项所述的方法,其特征在于,所述方法还包 括:
向所述业务应用装置发送带宽释放请求,所述带宽释放请求中携带申请释 放的逻辑端口标识,以使所述主控 BBU释放所述申请释放的逻辑端口;
接收所述主控 BBU发送的带宽释放成功的响应,所述带宽释放成功响应中 携带所述申请释放的逻辑端口的标识。
16、 一种基带处理单元,其特征在于,包括:
第一接收单元,用于接收同一资源池中的每个基带处理单元 BBU上报的本 BBU下的物理端口的标识和与所述物理端口的标识关联的逻辑端口的标识,以 及所述物理端口的使用状态信息、 所述逻辑端口的使用状态信息、 所述物理端 口下未分配的带宽值和所述物理端口下的未分配的逻辑端口的数量;
关联存储单元,用于关联存储所述第一接收单元接收到的同一资源池中的 每个基带处理单元 BBU上报的本 BBU下的物理端口的标识和与所述物理端口的 标识关联的逻辑端口的标识,以及所述物理端口的使用状态信息、 所述逻辑端 口的使用状态信息、 所述物理端口下未分配的带宽值和所述物理端口下的未分 配的逻辑端口的数量;
所述第一接收单元,还用于接收业务应用装置的带宽请求,所述带宽请求 中携带所述业务应用装置申请的带宽值;
分配单元,用于根据所述第一接收单元接收到的所述申请的带宽值,为所 述业务应用装置从所述同一资源池的所有物理端口中选择使用状态为可用,未 分配的带宽不小于所述申请的带宽值,并且未分配逻辑端口数大于 0的一个物理 端口 ,分配该物理端口下的一个使用状态为未分配的逻辑端口 ,并设置所述使 用状态为未分配的逻辑端口的带宽值为所述申请的带宽值;
第一发送单元,用于向所述业务应用装置发送带宽请求响应,所述带宽请 求响应中携带所述使用状态为未分配的逻辑端口的标识和为所述使用状态为未 分配的逻辑端口分配的带宽值,以使所述业务应用装置使用所述使用状态为未 分配的逻辑端口进行数据传输。
17、 根据权利要求 16所述的基带处理单元,其特征在于,
所述第一接收单元,还用于接收所述每个 BBU上报的本 BBU的标识; 所述关联存储单元,还用于将所述第一接收单元接收的本 BBU的标识与所 述本 BBU下的物理端口的标识关联存储;
所述带宽请求中还携带所述业务应用装置指定的 BBU的标识;
所述分配单元,用于根据所述指定的 BBU的标识和所述申请的带宽值,为 所述业务应用装置从所述指定的 BBU下的物理端口中选择使用状态为可用,未 分配的带宽不小于所述申请的带宽值,并且未分配逻辑端口数大于 0的一个物理 端口 ,分配该物理端口下的一个使用状态为未分配的逻辑端口 ,并设置所述使 用状态为未分配的逻辑端口的带宽值为所述申请的带宽值。
18、 根据权利要求 16所述的基带处理单元,其特征在于,所述带宽请求中 还携带所述业务应用装置指定的物理端口的标识;
所述分配单元,用于根据所述指定的物理端口的标识和所述申请的带宽值, 为所述业务应用装置在所述指定的物理端口的未分配带宽不小于所述申请的带 宽值,并且所述指定的物理端口下的未分配的逻辑端口数大于 0的情况下,分配 一个使用状态为未分配的逻辑端口 ,并设置所述使用状态为未分配的逻辑端口 的带宽值为所述申请的带宽值。
19、 根据权利要求 16~18任意一项所述的基带处理单元,其特征在于,所述 基带处理单元还包括:
设置单元,用于将分配单元分配给所述业务应用装置的所述使用状态为未 分配的逻辑端口的使用状态设置为已分配;
修改单元,用于修改所述使用状态为未分配的逻辑端口所属的物理端口的 未分配带宽值为原未分配带宽值減去所述申请的带宽值,并修改所述使用状态 为未分配的逻辑端口所属的物理端口下的所述未分配逻辑端口的数量为原未分 配逻辑端口数減 1。
20、 根据权利要求 16~18任意一项所述的基带处理单元,其特征在于, 所述关联存储单元,还用于关联存储所述业务应用装置的标识、 已给所述 业务应用装置分配的逻辑端口的标识和总带宽值。
21、 根据权利要求 20所述的基带处理单元,其特征在于, 当所述业务应用 装置有带宽申请上限时,
所述分配单元,用于确定所述申请的带宽值不大于所述带宽申请上限,且 所述申请的带宽值与所述业务应用装置已使用的所有逻辑端口的带宽的和不大 于所述带宽申请上限时,根据所述申请的带宽值,为所述业务应用装置从所述 同一资源池的所有物理端口中选择使用状态为可用,未分配的带宽不小于所述 申请的带宽值,并且未分配逻辑端口数大于 0的一个物理端口 ,分配该物理端口 下的一个使用状态为未分配的逻辑端口 ,并设置所述使用状态为未分配的逻辑 端口的带宽值为所述申请的带宽值。
22、 根据权利要求 21所述的基带处理单元,其特征在于,
所述第一接收单元,还用于接收所述业务应用装置发送的带宽增加请求, 所述带宽增加请求中携带申请增加带宽的逻辑端口标识和申请增加的带宽值; 所述分配单元,还用于根据所述申请增加带宽的逻辑端口标识和申请增加 的带宽值,在所述申请增加带宽的逻辑端口所属的物理端口下的未分配带宽不 小于所述申请增加的带宽值,并且原来为所述申请增加带宽的逻辑端口分配的 带宽与所述申请增加到带宽值的和不大于所述带宽申请上限时,更新所述申请 增加带宽的逻辑端口的带宽值为所述申请增加带宽的逻辑端口原来已分配的带 宽值和所述申请增加的带宽值之和;
所述修改单元,用于修改所述申请增加带宽的逻辑端口所属的物理端口下 的未分配带宽值为原来未分配带宽值減去所述申请增加的带宽值;
所述第一发送单元,还用于向所述业务应用装置发送带宽增加成功响应, 所述带宽增加成功响应中携带所述申请增加带宽的逻辑端口的标识和所述更新 后的带宽值。
23、 根据权利要求 19~22任意一项所述的基带处理单元,其特征在于, 所述第一接收单元,还用于接收所述业务应用装置发送的带宽減少请求, 所述带宽減少请求中携带申请減少带宽的逻辑端口标识和申请減少的带宽值; 所述分配单元,还用于根据所述申请減少带宽的逻辑端口标识和申请減少 的带宽值,将所述申请減少带宽的逻辑端口的带宽值減少所述申请減少的带宽 值;
所述修改单元,还用于修改所述申请減少带宽的逻辑端口所属的物理端口 的未分配带宽值为原未分配带宽值加上所述申请減少的带宽值;
所述第一发送单元,还用于向所述业务应用装置发送带宽減少成功响应, 所述带宽減少成功响应中携带所述申请減少带宽的逻辑端口的标识和所述減少 后的带宽值。
24、 根据权利要求 19~23任意一项所述的基带处理单元,其特征在于, 所述第一接收单元,还用于接收所述业务应用装置发送的带宽释放请求, 所述带宽释放请求中携带申请释放的逻辑端口标识; 所述分配单元,还用于根据所述申请释放的逻辑端口标识,释放所述申请 释放的逻辑端口 ;
所述修改单元,还用于修改所述申请释放的逻辑端口所属的物理端口下的 未分配带宽为原未分配带宽值与申请释放的逻辑端口的带宽值之和,并修改所 述申请释放的逻辑端口的状态为未分配,设置所述申请释放的逻辑端口的带宽 值为零;
所述第一发送单元,还用于向所述业务应用装置发送带宽释放成功响应, 所述带宽释放成功响应中携带所述申请释放的逻辑端口的标识。
25、 一种业务应用装置,其特征在于,包括:
第二发送单元,用于根据数据传输业务需求,向资源池中的主控基带处理 单元 BBU发送带宽请求,所述带宽请求中携带申请的带宽值;
第二接收单元,用于接收所述主控 BBU发送的带宽请求响应,所述带宽请 求响应中携带所述主控 BBU分配的使用状态为未分配的逻辑端口的标识和为所 述使用状态为未分配的逻辑端口分配的带宽值;
传输单元,用于使用所述第二接收单元接收到的所述使用状态为未分配的 逻辑端口进行数据传输。
26、 根据权利 25所述的业务应用装置,其特征在于,所述带宽请求中还携 带指定的 BBU的标识时,
所述第二接收单元,用于接收所述主控 BBU发送的带宽响应,所述带宽响 应中携带所述主控 BBU分配的所述指定 BBU上的使用状态为未分配的逻辑端口 的标识和为所述使用状态为未分配的逻辑端口分配的带宽值;
所述传输单元,用于使用所述第二接收单元接收到的所述指定的 BBU上的 所述使用状态为未分配的逻辑端口进行数据传输。
27、 根据权利 25所述的业务应用装置,其特征在于,所述带宽请求中还携 带指定的物理端口的标识;
所述第二接收单元,用于接收所述主控 BBU发送的带宽响应,所述带宽响 应中携带所述主控 BBU分配的所述指定物理端口下的使用状态为未分配的逻辑 端口的标识和为所述使用状态为未分配的逻辑端口分配的带宽值;
所述传输单元,用于使用所述第二接收单元接收到的所述指定的物理端口 下的所述使用状态为未分配的逻辑端口进行数据传输。
28、 根据权利要求 25~27任意一项所述的业务应用装置,其特征在于, 所述第二发送单元,还用于向所述业务应用装置发送的带宽增加请求,所 述带宽增加请求中携带申请增加带宽的逻辑端口标识和申请增加的带宽值; 所述第二接收单元,还用于接收所述主控 BBU发送来的带宽增加成功响应, 所述带宽增加成功响应中携带所述申请增加带宽的逻辑端口的标识和所述更新 后的带宽值;
所述传输单元,还用于使用所述更新带宽值后的所述申请增加带宽的逻辑 端口进行数据传输。
29、 根据权利要求 25~27任意一项所述的业务应用装置,其特征在于, 所述第二发送单元,还用于向所述业务应用装置发送带宽減少请求,所述 带宽減少请求中携带申请減少带宽的逻辑端口标识和申请減少的带宽值;
所述第二接收单元,还用于接收所述主控 BBU发送来的带宽減少成功的响 应,所述带宽減少成功响应中携带所述申请減少带宽的逻辑端口的标识和所述 減少后的带宽值;
所述传输单元,还用于使用所述減少带宽值后的所述申请減少带宽的逻辑 端口进行数据传输。
30、 根据权利要求 25~27任意一项所述的业务应用装置,其特征在于, 所述第二发送单元,还用于向所述业务应用装置发送带宽释放请求,所述 带宽释放请求中携带申请释放的逻辑端口标识,以使所述主控 BBU释放所述申 请释放的逻辑端口;
所述第二接收单元,还用于接收所述主控 BBU发送的带宽释放成功的响应, 所述带宽释放成功响应中携带所述申请释放的逻辑端口的标识。
31、 一种传输带宽控制系统,其特征在于,包括:至少一个资源池,每个 资源池中包含多个 BBU和多个业务应用装置,其中一个 BBU为主控 BBU ,其他 非主控 BBU向所述主控 BBU上报的本 BBU的标识,与所述本 BBU的标识关联的 物理端口的标识和与所述物理端口的标识关联的逻辑端口的标识,以及每个物 理端口的使用状态信息和每个物理端口的总带宽值和每个物理端口上的总逻辑 端口数量;每个 BBU上包含至少一个物理端口 ,一个物理端口只能属于一个资 源池
所述主控 BBU为上述权利要求 17~24任意一项所述的 BBU;
所述业务应用装置为上述权利要求 25~30任意一项所述的业务应用装置。
PCT/CN2014/075658 2013-04-18 2014-04-18 一种传输带宽的控制方法、装置及系统 WO2014169842A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310135180.XA CN103260196B (zh) 2013-04-18 2013-04-18 一种传输带宽的控制方法、装置及系统
CN201310135180.X 2013-04-18

Publications (1)

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

Family

ID=48963832

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/075658 WO2014169842A1 (zh) 2013-04-18 2014-04-18 一种传输带宽的控制方法、装置及系统

Country Status (2)

Country Link
CN (1) CN103260196B (zh)
WO (1) WO2014169842A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103260196B (zh) * 2013-04-18 2016-03-30 上海华为技术有限公司 一种传输带宽的控制方法、装置及系统
CN104954796B (zh) * 2014-03-28 2019-06-11 联咏科技股份有限公司 视频处理装置与其视频处理电路
CN104301217B (zh) * 2014-10-11 2019-02-19 新华三技术有限公司 一种链路捆绑方法和设备
CN108966240A (zh) * 2018-05-24 2018-12-07 国家电网公司 跨频段融合电力无线专网的多信道传输系统
CN111181753B (zh) * 2018-11-12 2021-06-29 华为技术有限公司 一种动态带宽分配方法和相关设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039214A (zh) * 2006-03-17 2007-09-19 华为技术有限公司 一种动态带宽资源分配方法及系统
CN101345713A (zh) * 2008-09-01 2009-01-14 华为技术有限公司 一种网络资源的分配方法、装置和系统
CN102124456A (zh) * 2008-09-08 2011-07-13 维里逊专利及许可公司 用于在逻辑路由器之间的链路共享的方法和装置
CN103260196A (zh) * 2013-04-18 2013-08-21 上海华为技术有限公司 一种传输带宽的控制方法、装置及系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101087238B (zh) * 2003-10-21 2010-08-04 华为技术有限公司 无源光网络的动态带宽分配装置及方法
JP2006005437A (ja) * 2004-06-15 2006-01-05 Fujitsu Ltd トラフィック分散制御装置
CN101505505A (zh) * 2009-03-06 2009-08-12 华为技术有限公司 一种基站控制方法和装置
CN102143412B (zh) * 2011-01-26 2014-06-04 华为技术有限公司 连接接纳控制方法、装置及无源光网络系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039214A (zh) * 2006-03-17 2007-09-19 华为技术有限公司 一种动态带宽资源分配方法及系统
CN101345713A (zh) * 2008-09-01 2009-01-14 华为技术有限公司 一种网络资源的分配方法、装置和系统
CN102124456A (zh) * 2008-09-08 2011-07-13 维里逊专利及许可公司 用于在逻辑路由器之间的链路共享的方法和装置
CN103260196A (zh) * 2013-04-18 2013-08-21 上海华为技术有限公司 一种传输带宽的控制方法、装置及系统

Also Published As

Publication number Publication date
CN103260196B (zh) 2016-03-30
CN103260196A (zh) 2013-08-21

Similar Documents

Publication Publication Date Title
CN108111931B (zh) 一种电力光纤接入网的虚拟资源切片管理方法及装置
WO2018082709A1 (zh) 移动边缘计算应用负荷分担的方法和控制器
WO2014169842A1 (zh) 一种传输带宽的控制方法、装置及系统
CN106993067B (zh) 路由下发方法及设备
CN107426797B (zh) 用于接入网侧的切片管控系统和方法
CN105159775A (zh) 基于负载均衡器的云计算数据中心的管理系统和管理方法
CN110661894A (zh) 用户ip地址的分配方法、网络设备和存储介质
EP3206372B1 (en) Hardware resource management method, hardware resource location query method and related apparatus
US20200015102A1 (en) Network slice instance management method, apparatus, and system
WO2015074396A1 (zh) 一种软件定义网络sdn的自动配置方法、设备及系统
WO2016095524A1 (zh) 资源分配方法及装置
JP2017533509A (ja) リソース管理方法、ホストおよびエンドポイント
CN102594660A (zh) 一种虚拟接口交换方法、装置及系统
WO2021244302A1 (zh) 一种服务质量管理方法和装置
CN107920117B (zh) 一种资源管理方法、控制设备和资源管理系统
CN103414657A (zh) 一种跨数据中心的资源调度方法、超级调度中心和系统
CN107239347B (zh) 一种虚拟化场景下的设备资源分配方法和装置
JP2018531549A (ja) ネットワーク機能仮想化リソース処理方法および仮想化されたネットワーク機能マネージャ
CN105791355A (zh) 开放式多业务蜂窝网络系统及业务实现方法
US10757069B2 (en) IP address allocation method for master-slave network, apparatus, and system
CN109995890B (zh) 一种管理网络地址转换nat网关的方法及服务器
CN104734823A (zh) 通信系统、通信终端、中转台以及握手通信的方法
WO2021115183A1 (zh) 地址管理方法、服务器和计算机可读存储介质
WO2019034091A1 (zh) 分布式数据计算的分配方法、装置、服务器及存储介质
WO2014079050A1 (zh) 一种逻辑对象部署方法、相关装置及系统

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

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

Country of ref document: EP

Kind code of ref document: A1