WO2018188487A1 - Hqos resource scheduling method, device and system - Google Patents

Hqos resource scheduling method, device and system Download PDF

Info

Publication number
WO2018188487A1
WO2018188487A1 PCT/CN2018/080928 CN2018080928W WO2018188487A1 WO 2018188487 A1 WO2018188487 A1 WO 2018188487A1 CN 2018080928 W CN2018080928 W CN 2018080928W WO 2018188487 A1 WO2018188487 A1 WO 2018188487A1
Authority
WO
WIPO (PCT)
Prior art keywords
plane device
forwarding plane
resource scheduling
resource
policy
Prior art date
Application number
PCT/CN2018/080928
Other languages
French (fr)
Chinese (zh)
Inventor
花荣荣
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018188487A1 publication Critical patent/WO2018188487A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2441Traffic characterised by specific attributes, e.g. priority or QoS relying on flow classification, e.g. using integrated services [IntServ]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/54Loss aware scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS or priority aware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/825Involving tunnels, e.g. MPLS

Definitions

  • the present invention relates to the field of communications, and in particular, to a HQoS resource scheduling method, device, and system.
  • SDN Software Defined Network
  • NFV Network Functions Virtualization
  • the core network architecture evolves; traditional network element devices also evolve from specialization to generalization.
  • Traditional network element equipment mainly solves two decoupling from specialization to generalization: decoupling of control and forwarding, decoupling of software and hardware.
  • BNG full name Broadband Network Gateway
  • the main requirements for BNG equipment on user access are user authentication, access control, traffic scheduling, and so on.
  • QoS Quality of Service
  • HQoS full name is Hierarchical
  • Quality of Service (Layered QoS) capabilities continue to improve, especially for BNG equipment to provide open and programmable capabilities. Based on these factors, it is very necessary for BNG equipment to implement the two decouplings mentioned above based on the SDN/NFV architecture.
  • Decoupling of BNG forwarding and control is a trend. After decoupling between forwarding and control, the control plane can manage multiple forwarding planes, perform scheduling of users, traffic, and resources between multiple forwarding planes, and use devices compared with single machines. Both rate and reliability can be greatly improved. Then, in the BNG environment where control and forwarding are separated, how to implement dynamic and flexible scheduling between user HQoS resources in the BNG forwarding plane becomes a technical problem to be solved by the present invention.
  • the present invention has been made in order to provide an HQoS resource scheduling method, apparatus and system that solve the above problems.
  • an HQoS resource scheduling method is provided, which is applied to a control plane device of a broadband network gateway BNG or a virtual vBNG, and the method includes:
  • the resource scheduling policy includes the destination forwarding plane device information of the resource scheduling
  • the access user of the board port is scheduled to the destination forwarding plane device according to the resource scheduling policy.
  • a control plane device for BNG or vBNG including:
  • the HQoS resource scheduling policy module is configured to obtain the HQoS queue resource consumption of the board port reported by the forwarding plane device in real time;
  • the policy scheduling module is configured to: when the HQoS queue resource consumption condition of the board port meets the set resource scheduling condition, set a resource scheduling policy of the forwarding plane device; the resource scheduling policy includes a destination forwarding plane of the resource scheduling Device Information;
  • the protocol processing module is configured to schedule the access user of the board port to the destination forwarding plane device according to the resource scheduling policy.
  • an HQoS resource scheduling system including: a BNG/vBNG control plane device and a plurality of BNG/vBNG forwarding plane devices;
  • the forwarding plane device includes:
  • the resource statistics module is configured to report the consumption of the HQoS queue resource of the forwarding board device to the control plane device in real time;
  • a processing module configured to respond to a user scheduling operation performed by the control plane device according to the set resource scheduling policy
  • the control surface device includes:
  • the HQoS resource scheduling policy module is configured to obtain the HQoS queue resource consumption status of the board port reported by each forwarding plane device in real time;
  • a policy scheduling module configured to: when a HQoS queue resource consumption condition of a board port of a forwarding plane device meets a set resource scheduling condition, set a resource scheduling policy of the forwarding plane device; the resource scheduling policy includes resource scheduling Destination forwarding device information;
  • the protocol processing module is configured to schedule, according to the resource scheduling policy, the access user of the board port of the forwarding plane device to the destination forwarding plane device.
  • a storage medium having stored therein a computer program, wherein the computer program is configured to execute the steps of any one of the method embodiments described above.
  • an electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor being arranged to run the computer program to perform any of the above The steps in the method embodiments.
  • the method, device and system of the invention realize flexible scheduling of HQoS queue resources on the BNG/vBNG forwarding plane, improve utilization of equipment resources, and the scheduling process is completely adaptive, and has no additional requirements on the surrounding network, and realizes the cost. low.
  • FIG. 1 is a flowchart of a method for scheduling an HQoS resource according to a first embodiment of the present invention
  • FIG. 2 is a structural block diagram of a control plane device of a BNG or a vBNG according to a second embodiment of the present invention
  • FIG. 3 is a structural block diagram of an HQoS resource scheduling system according to a third embodiment of the present invention.
  • FIG. 4 is a network architecture diagram of an HQoS resource scheduling system according to a fourth embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for scheduling an HQoS resource according to a fourth embodiment of the present invention.
  • FIG. 6 is a refinement timing diagram of a method implementation according to a fourth embodiment of the present invention.
  • FIG. 7 is a structural diagram of a system networking of a method according to a fifth embodiment of the present invention.
  • FIG. 8 is a flowchart of a method for scheduling HQoS resources in a forwarding plane pooling scenario according to a fifth embodiment of the present invention.
  • FIG. 9 is a flowchart of a method for scheduling HQoS resources in a non-pooling scenario of a forwarding plane according to a fifth embodiment of the present invention.
  • an HQoS resource scheduling method is provided.
  • the method is applied to a BNG or vBNG control plane device. As shown in FIG. 1, the method includes the following steps:
  • step S110 the HQoS queue resource consumption of the board port reported by the forwarding plane device is obtained in real time;
  • the forwarding plane device sends an HQoS queue resource consumption condition to the control plane device through an openflow (open flow) control channel message.
  • step S120 when the HQoS queue resource consumption of the board port meets the set resource scheduling condition, the resource scheduling policy of the forwarding plane device is set; the resource scheduling policy includes the destination forwarding plane device information of the resource scheduling;
  • the HQoS queue resource consumption of the board port meets the set resource scheduling condition, and the HQoS queue resource consumption of the board port reaches a set resource consumption threshold.
  • the HQoS queue resource consumption of the board port does not meet the set resource scheduling conditions, including: the HQoS queue resource consumption of the board port does not reach the set resource consumption threshold.
  • the queue resource of the board is certain. As long as the proportion reaches a certain threshold (percentage), scheduling can be performed.
  • the resource consumption threshold can be flexibly configured and adjusted according to the actual situation of the network, which is not specifically limited in the embodiment of the present invention.
  • setting a resource scheduling policy of the forwarding plane device includes:
  • the resource scheduling group includes forwarding plane device information that can perform resource scheduling with the forwarding plane device; wherein, the resource scheduling group can The forwarding plane device that performs resource scheduling on the forwarding plane device is a pooled forwarding plane device or a non-pooled forwarding plane device.
  • one resource scheduling group is selected in each resource scheduling group, and the destination forwarding plane device is selected in the resource scheduling group.
  • the forwarding plane device and the current forwarding plane device are preferentially selected as the resource scheduling group of the pooled forwarding plane device, that is, the priority of the resource scheduling group is higher.
  • the selection policy can be flexibly set according to requirements, and the present invention does not limit it.
  • the selected resource scheduling group when it includes multiple forwarding plane device information, it may be, but is not limited to, determining, according to the HQoS queue resource consumption of the forwarding plane devices, a forwarding plane device that consumes less forwarding planes. device.
  • step S130 the access user of the board port is scheduled to the destination forwarding plane device according to the resource scheduling policy.
  • the scheduling of the access user of the board port to the destination forwarding plane device according to the resource scheduling policy includes: controlling the access user of the board port And determining, according to the resource scheduling policy, the destination forwarding plane device, and feeding back the response packet of the control packet to the destination forwarding plane device.
  • the user entry is delivered to the destination forwarding device during the session of the access user.
  • the method further includes:
  • the device determines whether the forwarding plane device and the destination forwarding plane device are pooled forwarding plane devices, and if yes, the L2 tunnel configuration information is sent to the forwarding plane device and the destination forwarding plane device. After the L2 tunnel configuration information is delivered, an L2 tunnel can be established between the forwarding plane device and the destination forwarding device. The access user of the forwarding plane device can be scheduled to the forwarding plane device outside the pool. Scheduling of HQoS resources.
  • the L2 tunnel can be, but is not limited to, a VxLAN tunnel.
  • the resource scheduling of the forwarding plane device that is set is cancelled.
  • the method in the embodiment of the present invention implements flexible scheduling of HQoS queue resources in the forwarding pool and flexible scheduling of HQoS queue resources between the forwarding pools, improves device resource utilization, and the scheduling process is completely adaptive. There are no additional requirements for the surrounding network, and the implementation cost is low.
  • control plane device of a BNG or a vBNG. As shown in FIG. 2, the control plane device includes:
  • the HQoS resource scheduling policy module 210 is configured to obtain the HQoS queue resource consumption of the board port reported by the forwarding plane device in real time;
  • the policy scheduling module 220 is configured to: when the HQoS queue resource consumption condition of the board port meets the set resource scheduling condition, set a resource scheduling policy of the forwarding plane device; the resource scheduling policy includes a destination forwarding of the resource scheduling Surface device information;
  • the protocol processing module 230 is configured to schedule an access user of the board port to the destination forwarding plane device according to the resource scheduling policy.
  • the HQoS queue resource consumption of the board port meets the set resource scheduling condition, and the HQoS queue resource consumption of the board port reaches the set resource consumption threshold.
  • the resource consumption threshold can be flexibly configured and adjusted according to the actual situation of the network, which is not specifically limited in the embodiment of the present invention.
  • the policy scheduling module 220 is specifically configured to acquire a pre-configured resource scheduling group of the forwarding plane device, where the resource scheduling group includes resource scheduling that can be performed with the forwarding plane device. Forwarding device information; selecting a resource scheduling group in each resource scheduling group according to the selected selection policy, and selecting a destination forwarding plane device in the resource scheduling group.
  • the policy scheduling module 220 is further configured to determine, after setting the resource scheduling policy of the forwarding plane device, whether the forwarding plane device and the destination forwarding plane device are pooled forwarding plane devices, And in the case of no, the L2 tunnel configuration information is sent to the forwarding plane device and the destination forwarding plane device.
  • the protocol processing module 230 is configured to: when receiving the control message of the access user of the board port, determine the destination forwarding device according to the resource scheduling policy, and Forwarding the response packet of the control packet to the destination forwarding device, and delivering the user entry to the destination forwarding device to schedule the access user to the destination forwarding device.
  • the policy scheduling module 220 is further configured to: when the HQoS queue resource consumption of the board port no longer meets the set resource scheduling condition, cancel the set forwarding device The resource scheduling policy.
  • control plane device in the embodiment of the present invention implements flexible scheduling of HQoS queue resources in the forwarding pool and flexible scheduling of HQoS queue resources between the forwarding pools, improves device resource utilization, and the scheduling process is complete. It is adaptive, has no additional requirements for the surrounding network, and has low implementation cost.
  • an HQoS resource scheduling system including: a BNG/vBNG control plane device 310 and a plurality of BNG/vBNG forwarding plane devices 320;
  • the forwarding plane device 320 includes:
  • the resource statistic module 321 is configured to report the HQoS queue resource consumption of the forwarding plane device board to the control plane device in real time;
  • the processing module 322 is configured to respond to a user scheduling operation performed by the control plane device according to the set resource scheduling policy
  • the control plane device 310 includes:
  • the HQoS resource scheduling policy module 311 is configured to acquire the HQoS queue resource consumption status of the board port reported by each forwarding plane device in real time;
  • the policy scheduling module 312 is configured to set a resource scheduling policy of the forwarding plane device when the HQoS queue resource consumption condition of the board port of the forwarding plane device meets the set resource scheduling condition; the resource scheduling policy includes the resource Scheduling destination forwarding plane device information;
  • the protocol processing module 313 is configured to schedule, according to the resource scheduling policy, the access user of the board port of the forwarding plane device to the destination forwarding plane device.
  • the HQoS queue resource consumption of the board port meets the set resource scheduling condition, and the HQoS queue resource consumption of the board port reaches the set resource consumption threshold.
  • the resource consumption threshold can be flexibly configured and adjusted according to the actual situation of the network, which is not specifically limited in the embodiment of the present invention.
  • the policy scheduling module 312 is specifically configured to acquire a pre-configured resource scheduling group of the forwarding plane device, where the resource scheduling group includes resource scheduling that can be performed with the forwarding plane device. Forwarding device information; selecting a resource scheduling group in each resource scheduling group according to the selected selection policy, and selecting a destination forwarding plane device in the resource scheduling group.
  • the policy scheduling module 312 is further configured to determine, after setting the resource scheduling policy of the forwarding plane device, whether the forwarding plane device and the destination forwarding plane device are pooled forwarding plane devices, and whether The L2 tunnel configuration information is sent to the forwarding plane device and the destination forwarding plane device.
  • the processing module 322 is further configured to: when receiving the L2 tunnel configuration information sent by the control plane device, establish an L2 tunnel with the forwarding plane device indicated by the configuration information according to the L2 tunnel configuration information, and determine the current When the forwarding plane device to which the module belongs is a forwarding plane device that needs to perform resource scheduling, the port information of the access port is sent to the destination forwarding plane device through the L2 tunnel.
  • the processing module 322 is specifically configured to: when receiving the control message of the access user, if the L2 tunnel is currently established and the forwarding plane device to which the module belongs is required to perform resource scheduling.
  • the forwarding plane device sends the control packet to the destination forwarding plane device through the L2 tunnel; otherwise, the control packet is directly sent to the control plane device.
  • the processing module 322 encapsulates the control packet into an L2 tunnel packet, and uses the L2 tunnel to send the encapsulated L2 tunnel packet to the destination forwarding plane device.
  • the inbound port information is encapsulated in the L2 tunnel packet.
  • the protocol processing module 313 is specifically configured to: when receiving the control packet of the forwarding plane device that needs to perform resource scheduling, determine the destination forwarding plane device according to the resource scheduling policy, and The destination forwarding plane device feeds back the response packet of the control packet, and delivers the user entry to the destination forwarding plane device;
  • the processing module 322 is further configured to: when receiving the response message, send the response message directly to the corresponding access user according to the port information carried in the response message, or send the response message
  • the file is sent to the corresponding forwarding plane device by using the L2 tunnel; and when the user entry sent by the control plane device is received, the user entry is updated.
  • the policy scheduling module 312 is further configured to: when the HQoS queue resource consumption of the board port of the forwarding plane device no longer meets the set resource scheduling condition, the forwarding plane device is cancelled. Resource scheduling strategy.
  • the system in the embodiment of the present invention implements flexible scheduling of HQoS queue resources on the BNG/vBNG forwarding plane, improves the utilization of equipment resources, and the scheduling process is completely adaptive, and has no additional requirements on the surrounding network, and the implementation cost is low.
  • an HQoS resource scheduling system is provided.
  • the network element and the network module included in the system are: user equipment, BNG/vBNG-C (BNG/vBNG Control Plane) Equipment, multiple BNG/vBNG-U (BNG/vBNG User Plane) devices, AAA devices, and access networks, where:
  • RG Residential Gateway
  • CPE Customer Premise Equipment
  • PC Personal Computer
  • VoIP Voice over Internet Protocol
  • IPTV Internet Protocol Television
  • STB Set Top Box
  • IAD Integrated Access Device
  • BNG/vBNG-C equipment including BNG control plane equipment and vBNG control plane equipment, mainly for protocol negotiation, user authentication, access control, and user management for broadband user access.
  • the BNG/vBNG-U device including the forwarding plane device of the BNG and the forwarding plane device of the vBNG, is mainly responsible for forwarding and controlling user traffic, and is responsible for executing the traffic policy related to the user.
  • the implementation process of the HQoS resource scheduling method provided by the embodiment of the present invention is described in detail.
  • the method in this embodiment mainly includes the following steps:
  • the BNG/vBNG-U reports the consumption of the HQoS queue resources of the board and the port to the BNG/vBNG-C.
  • the BNG/vBNG-C performs the BNG/vBNG-U access user session (session) scheduling judgment according to the preset resource consumption threshold (Pmax, Pmin) policy, and determines the HQoS of the BNG/vBNG-U.
  • Pmax is a threshold high value
  • Pmin is a threshold low value
  • the BNG/vBNG-C performs a scheduling policy on the BNG/vBNG-U in which the HQoS queue resource consumption exceeds the Pmax value, so as to follow the BNG/vBNG-U board and port.
  • the accessed user session is scheduled to be accessed by other BNG/vBNG-Us with sufficient resources;
  • the BNG/vBNG-C cancels the scheduling policy corresponding to the BNG/vBNG-U.
  • FIG. 6 is a timing diagram of the above steps, and the specific implementation process of the foregoing steps is described below in conjunction with the timing diagram, optionally:
  • the first step includes:
  • Both BNG/vBNG-U-1 and BNG/vBNG-U-2 report the HQoS queue resources of the board and port to BNG/vBNG-C.
  • the second step includes:
  • the HQoS resource scheduling policy module of the BNG/vBNG-C requests the policy scheduling module to BNG/vBNG-U exceeding the Pmax value according to the preset HQoS resource consumption threshold (Pmax, Pmin). 1 Set the scheduling policy.
  • the scheduled scheduling policy is to schedule the user session subsequently accessed by the BNG/vBNG-U-1 to the BNG/vBNG-U-2 for access.
  • the third step includes:
  • the first scenario is the forwarding surface into a pool:
  • the user equipment broadcasts PADI (Host Broadcast Initiation Packet) to BNG/vBNG-U-1 and BNG/vBNG-U-2 through OLT (all called Optical Line Terminal)/SW (full name: Switch, switch). /DHCP (full name Dynamic Host Configuration Protocol) controls the message;
  • PADI Home Broadcast Initiation Packet
  • OLT All called Optical Line Terminal
  • SW full name: Switch, switch
  • /DHCP full name Dynamic Host Configuration Protocol
  • the control packet encapsulating module of the 302A, BNG/vBNG-U-1 and BNG/vBNG-U-2 after receiving the broadcast control packet, encapsulates the control packet and encapsulates it through the L2 tunnel.
  • the packet is sent to the BNG/vBNG-C.
  • the L2 tunnel can be a VxLAN tunnel, an L2VPN tunnel, or a GRE (full name Generic Routing Encapsulation) tunnel.
  • the control packet decapsulation module of the BNG/vBNG-C receives the control packet sent from the BNG/vBNG-U-1 and the BNG/vBNG-U-2 through the L2 tunnel, decapsulates, and decapsulates The subsequent control message is sent to PPPoE (all called Point to Point Protocol over Ethernet)/DHCP protocol processing module.
  • PPPoE All called Point to Point Protocol over Ethernet
  • the PPPoE/DHCP protocol processing module of the 304A, BNG/vBNG-C requests a scheduling policy from the policy scheduling module.
  • the 305A, BNG/vBNG-C policy scheduling module performs a scheduling policy response according to the previously set scheduling policy.
  • the PPPoE/DHCP protocol processing module of the BNG/vBNG-C will only respond to the control packet sent by the BNG/vBNG-U-2 according to the scheduling policy.
  • control packet encapsulating module of the 307A and the BNG/vBNG-U-2 After receiving the response packet of the control packet, the control packet encapsulating module of the 307A and the BNG/vBNG-U-2 returns a response packet to the user equipment through the OLT/SW.
  • the user equipment initiates a PPPoE/IPoE protocol process to the BNG/vBNG-U-2 through the OLT/SW.
  • control packet encapsulating module of the BNG/vBNG-U-2 After receiving the protocol flow message, the control packet encapsulating module of the BNG/vBNG-U-2 sends the packet to the PPPoE/DHCP protocol processing module of the BNG/vBNG-C.
  • the PPPoE/DHCP protocol processing module of the BNG/vBNG-C initiates an authentication request to the AAA device, and receives an authentication response fed back by the AAA device.
  • the PPPoE/DHCP protocol processing module of the BNG/vBNG-C initiates a user table update to the user table management module;
  • the user list management module of the BNG/vBNG-C delivers the user entry to the BNG/vBNG-U-2 through the openflow, and schedules the access user of the BNG/vBNG-U-1 to the BNG/vBNG-U-2.
  • Scenario 2 is that the forwarding plane is not pooled:
  • BNG/vBNG-C uses the policy scheduling module to configure the management module under BNG/vBNG-U-1 and BNG/vBNG-U-2 after setting the scheduling policy for BNG/vBNG-U-1 exceeding the Pmax value.
  • the user equipment sends a PADI/DHCP control message to the BNG/vBNG-U-1 through the OLT/SW.
  • the control packet encapsulating module of the BNG/vBNG-U-1 is encapsulated and sent to the BNG/vBNG-U-2 through the VxLAN tunnel.
  • the control packet encapsulating module of the BNG/vBNG-U-2 sends the control packet to the BNG/vBNG-C through the L2 tunnel.
  • the control packet decapsulation module of the 305B and the BNG/vBNG-C receives the control packet sent from the BNG/vBNG-U-1 and the BNG/vBNG-U-2 through the L2 tunnel, decapsulates, and decapsulates the packet.
  • the subsequent control message is sent to the PPPoE/DHCP protocol processing module.
  • the PPPoE/DHCP protocol processing module of the BNG/vBNG-C requests a scheduling policy from the policy scheduling module.
  • the policy scheduling module of the BNG/vBNG-C performs a scheduling policy response according to the previously set scheduling policy.
  • the PPPoE/DHCP protocol processing module of the BNG/vBNG-C responds to the control packet sent by the BNG/vBNG-U-2 according to the scheduling policy.
  • control packet encapsulating module of the BNG/vBNG-U-2 After receiving the response packet of the control packet, the control packet encapsulating module of the BNG/vBNG-U-2 sequentially returns a response packet to the user equipment through the BNG/vBNG-U-1 and the OLT/SW.
  • the user equipment in the session phase, the user equipment initiates a PPPoE/IPoE protocol process to the BNG/vBNG-U-2 through the OLT/SW and the BNG/vBNG-U-1;
  • control packet encapsulating module of the BNG/vBNG-U-2 After receiving the protocol flow message, the control packet encapsulating module of the BNG/vBNG-U-2 sends the packet to the PPPoE/DHCP protocol processing module of the BNG/vBNG-C.
  • the PPPoE/DHCP protocol processing module of the BNG/vBNG-C initiates an authentication request to the AAA device, and receives an authentication response fed back by the AAA device.
  • the PPPoE/DHCP protocol processing module of the BNG/vBNG-C initiates a user table update to the user table management module;
  • BNG/vBNG-C user table management module delivers user entries to BNG/vBNG-U-2 through openflow to schedule BNG/vBNG-U-1 access users to BNG/vBNG-U-2 .
  • the fourth step includes:
  • the BNG/vBNG-C determines, according to the received HQoS queue resource consumption condition of the BNG/vBNG-U-1, that the HQoS queue resource consumption is lower than the Pmin value, and then cancels the set scheduling policy.
  • control packet encapsulation module and the user table management module in the BNG/vBNG-U are equivalent to the processing module in the third embodiment.
  • an HQoS resource scheduling method is provided. As shown in FIG. 7, a system architecture diagram is applied to the method according to the embodiment. This embodiment will focus on the HQoS resource flexible scheduling component design.
  • S represents a resource scheduling group
  • P represents a user access port.
  • S1, S2, and S3 are port P1 resource scheduling policy groups for BNG/vBNG-U-1.
  • S1, S2, and S3 of S are first defined.
  • S1 and S2 are the forwarding plane pooling scenarios
  • S3 is the forwarding plane non-pooling scenario.
  • the resource scheduling group S1 includes two forwarding plane devices, namely BNG/vBNG-U-1 and BNG/vBNG-U-2, and the syntax is S1 (BNG/vBNG-U-1&P1, BNG/vBNG-U-2&P2). ), P1 and P2 are user access ports, respectively;
  • the resource scheduling group S2 includes two forwarding plane devices, namely BNG/vBNG-U-1 and BNG/vBNG-U-3, and the syntax is S2 (BNG/vBNG-U-1&P1, BNG/vBNG-U-3&P3). );
  • the resource scheduling group S3 includes two forwarding plane devices, namely BNG/vBNG-U-1 and BNG/vBNG-U-4, and the syntax is S3 (BNG/vBNG-U-1&P1, BNG/vBNG-U-4). ).
  • the resource scheduling is performed preferentially between the pooled forwarding planes, that is, the S1 or S2 resource scheduling group policy is preferentially executed, S1 and The S2 scheduling group policy needs to be associated with the user access port, that is, P1, P2, and P3.
  • the BNG/vBNG-C control plane performs resource scheduling between the non-pooled forwarding planes, that is, performs an S3 resource scheduling group policy, so that the access zone is not accessible. Network restrictions to achieve HQoS resource scheduling across sites.
  • the S3 resource scheduling group needs to be encapsulated in the VxLAN tunnel and transmitted to the BNG/vBNG in the VxLAN tunnel due to the cross-layer 2 access network.
  • U-4 is used for accurate binding of user information.
  • BNG/vBNG-U-4 performs Vxlan user access and routes the related user information locally.
  • a flowchart of an HQoS resource scheduling method in a forwarding plane pooling scenario includes:
  • Step 1 BNG/vBNG-C sets corresponding HQoS resource thresholds for different BNG/vBNG-Us, and a differentiated threshold policy can be formulated;
  • Step 2 Each BNG/vBNG-U reports the consumption of the HQoS queue resources of the board and the port to the BNG/vBNG-C in real time;
  • Step 3 A large number of users dial in to access, so that the HQoS queue resource utilization of a BNG/vBNG-U-1 board and a P1 port exceeds the upper threshold set by BNG/vBNG-C;
  • Step 4 The BNG/vBNG-C generates a resource scheduling group policy for the P1 port of the BNG/vBNG-U-1, and assumes that the generated resource scheduling group policy is S1.
  • Step 5 The BNG/vBNG-U-1 board and the P1 port are subsequently connected to the P2 port of the BNG/vBNG-U-2 in the pool for access.
  • a flowchart of an HQoS resource scheduling method in a non-pooling scenario of a forwarding plane includes:
  • Step 1 BNG/vBNG-C sets corresponding HQoS resource thresholds for different BNG/vBNG-Us, and a differentiated threshold policy can be formulated;
  • Step 2 The BNG/vBNG-U reports the consumption of the HQoS queue resources of the board and the port to the BNG/vBNG-C in real time.
  • Step 3 A large number of users dial in to access, so that the HQoS queue resource utilization of a BNG/vBNG-U-1 board and a P1 port exceeds the upper threshold set by BNG/vBNG-C;
  • Step 4 BNG/vBNG-C generates a resource scheduling group policy for the P1 port of the BNG/vBNG-U-1. If the generated resource scheduling group policy is S3, the BNG/vBNG-U-1 and the resource scheduling group S3 are generated.
  • the VNGLAN tunnel configuration is delivered by the BNG/vBNG-U-4.
  • Step 5 The BNG/vBNG-U-1 and the BNG/vBNG-U-4 establish a VxLAN tunnel by using the delivered tunnel configuration information;
  • Step 6 The BNG/vBNG-U-1 board and the subsequent access users of the P1 port are scheduled to go online to the BNG/vBNG-U-4 through the VxLAN tunnel, and the access port P1 of the BNG/vBNG-U-1 needs to be connected.
  • the related information (device ID, port ID, and VLAN-ID) is encapsulated in a VxLAN message and passed to the out-of-pool BNG/vBNG-U-4 for accurate binding of user information.
  • Embodiments of the present invention also provide a storage medium having stored therein a computer program, wherein the computer program is configured to execute the steps of any one of the method embodiments described above.
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • Embodiments of the present invention also provide an electronic device comprising a memory and a processor having a computer program stored therein, the processor being arranged to execute a computer program to perform the steps of any of the method embodiments described above.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • the HQoS resource scheduling method, device, and system provided by the embodiments of the present invention have the following beneficial effects: the flexible scheduling of the HQoS queue resources on the BNG/vBNG forwarding plane is implemented, and the utilization of the device resources is improved, and the scheduling process is complete. It is adaptive, has no additional requirements for the surrounding network, and has low implementation cost.

Landscapes

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

Abstract

Disclosed in the embodiments of the present invention are an HQoS resource scheduling method, device, and system, the method comprising: a BNG/vBNG control plane device acquires in real time the state of resource consumption of a HQoS queue at a single board port reported by a forwarding plane device; when the state of resource consumption of the HQoS queue at the single board port meets a predetermined resource scheduling condition, setting a resource scheduling policy of the forwarding plane device, the resource scheduling policy comprising information of a resource scheduling target forwarding plane device; and, on the basis of the resource scheduling policy, scheduling a user accessing the single board port to the target forwarding plane device. The solution in the embodiments of the present invention implements flexible scheduling of BNG/vBNG forwarding plane HQoS queue resources, improving device resource utilisation.

Description

一种HQoS资源调度方法、设备和系统HQoS resource scheduling method, device and system 技术领域Technical field
本发明涉及通信领域,尤其涉及一种HQoS资源调度方法、设备和系统。The present invention relates to the field of communications, and in particular, to a HQoS resource scheduling method, device, and system.
背景技术Background technique
随着软件定义型网络(Software Defined Network,简称为SDN)技术和网络功能虚拟化(Network Functions Virtualization,简称为NFV)技术的发展,城域网向着传统以网络为核心的架构向以数据中心为核心的网络架构演进;传统的网元设备也从专业化朝着通用化演进。传统网元设备从专业化朝着通用化演进主要解决两个解耦:控制与转发的解耦、软件与硬件的解耦。With the development of Software Defined Network (SDN) technology and Network Functions Virtualization (NFV) technology, the metropolitan area network is moving toward the traditional network-centric architecture to the data center. The core network architecture evolves; traditional network element devices also evolve from specialization to generalization. Traditional network element equipment mainly solves two decoupling from specialization to generalization: decoupling of control and forwarding, decoupling of software and hardware.
BNG(全称为Broadband Network Gateway,宽带网络网关)作为传统的宽带接入网关设备,在用户宽带接入业务和场景中非常重要。对BNG设备在用户接入上的主要的要求是用户认证、接入控制、流量调度等。随着各种互联网业务的层出不穷,对BNG设备支持的用户的会话数要求不断提高、对用户接入带宽不断提高、对用户支持QoS(全称为Quality of Service,服务质量)/HQoS(全称为Hierarchical Quality of Service,分层QoS)能力不断提高、尤其对BNG设备对外提供业务开放、可编程的能力的要求越来越高。基于这些因素,BNG设备非常有必要基于SDN/NFV的架构实现前面提到的两个解耦。As a traditional broadband access gateway device, BNG (full name Broadband Network Gateway) is very important in user broadband access services and scenarios. The main requirements for BNG equipment on user access are user authentication, access control, traffic scheduling, and so on. With the emergence of various Internet services, the number of sessions supported by BNG devices is increasing, the bandwidth for user access is increasing, and QoS is supported for users (all called Quality of Service)/HQoS (full name is Hierarchical). Quality of Service (Layered QoS) capabilities continue to improve, especially for BNG equipment to provide open and programmable capabilities. Based on these factors, it is very necessary for BNG equipment to implement the two decouplings mentioned above based on the SDN/NFV architecture.
BNG转发与控制的解耦是一种趋势,转发与控制解耦后,控制面可以管理多个转发面,进行多个转发面之间用户、流量、资源的调度,和单机相比设备的利用率和可靠性都能得到大幅的提升。那么,在控制与转发分离的BNG环境下,用户HQoS资源在BNG转发面间怎样实现动态灵活的调度,成为本发明所要解决的技术问题。Decoupling of BNG forwarding and control is a trend. After decoupling between forwarding and control, the control plane can manage multiple forwarding planes, perform scheduling of users, traffic, and resources between multiple forwarding planes, and use devices compared with single machines. Both rate and reliability can be greatly improved. Then, in the BNG environment where control and forwarding are separated, how to implement dynamic and flexible scheduling between user HQoS resources in the BNG forwarding plane becomes a technical problem to be solved by the present invention.
发明内容Summary of the invention
鉴于上述问题,提出了本发明以便提供一种解决上述问题的HQoS资源调度方法、设备和系统。In view of the above problems, the present invention has been made in order to provide an HQoS resource scheduling method, apparatus and system that solve the above problems.
依据本发明的一个方面,提供一种HQoS资源调度方法,应用于宽带网络网关BNG或者虚拟vBNG的控制面设备,所述方法包括:According to an aspect of the present invention, an HQoS resource scheduling method is provided, which is applied to a control plane device of a broadband network gateway BNG or a virtual vBNG, and the method includes:
实时获取转发面设备上报的单板端口的HQoS队列资源消耗情况;Obtain the HQoS queue resource consumption of the board port reported by the forwarding plane device in real time.
当所述单板端口的HQoS队列资源消耗情况满足设定的资源调度条件时,设置所述转发面设备的资源调度策略;所述资源调度策略包含资源调度的目的转发面设备信息;Setting a resource scheduling policy of the forwarding plane device when the HQoS queue resource consumption of the board port meets the configured resource scheduling condition; the resource scheduling policy includes the destination forwarding plane device information of the resource scheduling;
根据所述资源调度策略,将所述单板端口的接入用户调度至所述目的转发面设备。The access user of the board port is scheduled to the destination forwarding plane device according to the resource scheduling policy.
依据本发明的另一个方面,提供一种BNG或者vBNG的控制面设备,包括:According to another aspect of the present invention, a control plane device for BNG or vBNG is provided, including:
HQoS资源调度策略模块,设置为实时获取转发面设备上报的单板端口的HQoS队列资源消耗情况;The HQoS resource scheduling policy module is configured to obtain the HQoS queue resource consumption of the board port reported by the forwarding plane device in real time;
策略调度模块,设置为当所述单板端口的HQoS队列资源消耗情况满足设定的资源调度条件时,设置所述转发面设备的资源调度策略;所述资源调度策略包含资源调度的目的转发面设备信息;The policy scheduling module is configured to: when the HQoS queue resource consumption condition of the board port meets the set resource scheduling condition, set a resource scheduling policy of the forwarding plane device; the resource scheduling policy includes a destination forwarding plane of the resource scheduling Device Information;
协议处理模块,设置为根据所述资源调度策略,将所述单板端口的接入用户调度至所述目的转发面设备。The protocol processing module is configured to schedule the access user of the board port to the destination forwarding plane device according to the resource scheduling policy.
依据本发明的第三个方面,提供一种HQoS资源调度系统,包括:BNG/vBNG的控制面设备和多个BNG/vBNG的转发面设备;According to a third aspect of the present invention, an HQoS resource scheduling system is provided, including: a BNG/vBNG control plane device and a plurality of BNG/vBNG forwarding plane devices;
所述转发面设备,包括:The forwarding plane device includes:
资源统计模块,设置为实时将本转发面设备单板端口的HQoS队列资 源消耗情况上报至所述控制面设备;The resource statistics module is configured to report the consumption of the HQoS queue resource of the forwarding board device to the control plane device in real time;
处理模块,设置为响应所述控制面设备按照设置的资源调度策略执行的用户调度操作;a processing module, configured to respond to a user scheduling operation performed by the control plane device according to the set resource scheduling policy;
所述控制面设备,包括:The control surface device includes:
HQoS资源调度策略模块,设置为实时获取各所述转发面设备上报的单板端口的HQoS队列资源消耗情况;The HQoS resource scheduling policy module is configured to obtain the HQoS queue resource consumption status of the board port reported by each forwarding plane device in real time;
策略调度模块,设置为当某所述转发面设备的单板端口的HQoS队列资源消耗情况满足设定的资源调度条件时,设置该转发面设备的资源调度策略;所述资源调度策略包含资源调度的目的转发面设备信息;a policy scheduling module, configured to: when a HQoS queue resource consumption condition of a board port of a forwarding plane device meets a set resource scheduling condition, set a resource scheduling policy of the forwarding plane device; the resource scheduling policy includes resource scheduling Destination forwarding device information;
协议处理模块,设置为根据所述资源调度策略,将该转发面设备的单板端口的接入用户调度至所述目的转发面设备。The protocol processing module is configured to schedule, according to the resource scheduling policy, the access user of the board port of the forwarding plane device to the destination forwarding plane device.
根据本发明的又一个实施例,还提供了一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to still another embodiment of the present invention, there is also provided a storage medium having stored therein a computer program, wherein the computer program is configured to execute the steps of any one of the method embodiments described above.
根据本发明的又一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。According to still another embodiment of the present invention, there is also provided an electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor being arranged to run the computer program to perform any of the above The steps in the method embodiments.
本发明有益效果如下:The beneficial effects of the present invention are as follows:
本发明所述方法、设备和系统,实现了BNG/vBNG转发面HQoS队列资源灵活调度,提高设备资源的利用率,且该调度过程完全是自适应的,对周边网络没有额外的要求,实现成本低。The method, device and system of the invention realize flexible scheduling of HQoS queue resources on the BNG/vBNG forwarding plane, improve utilization of equipment resources, and the scheduling process is completely adaptive, and has no additional requirements on the surrounding network, and realizes the cost. low.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, and the above-described and other objects, features and advantages of the present invention can be more clearly understood. Specific embodiments of the invention are set forth below.
附图说明DRAWINGS
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于 本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those skilled in the art from a The drawings are only for the purpose of illustrating the preferred embodiments and are not to be construed as limiting. Throughout the drawings, the same reference numerals are used to refer to the same parts. In the drawing:
图1为本发明第一实施例提供的一种HQoS资源调度方法的流程图;FIG. 1 is a flowchart of a method for scheduling an HQoS resource according to a first embodiment of the present invention;
图2为本发明第二实施例提供的一种BNG或者vBNG的控制面设备的结构框图;2 is a structural block diagram of a control plane device of a BNG or a vBNG according to a second embodiment of the present invention;
图3为本发明第三实施例提供的一种HQoS资源调度系统的结构框图;3 is a structural block diagram of an HQoS resource scheduling system according to a third embodiment of the present invention;
图4为本发明第四实施例提供的HQoS资源调度系统的组网架构图;4 is a network architecture diagram of an HQoS resource scheduling system according to a fourth embodiment of the present invention;
图5为本发明第四实施例提供的HQoS资源调度方法的流程图;FIG. 5 is a flowchart of a method for scheduling an HQoS resource according to a fourth embodiment of the present invention;
图6为本发明第四实施例所述方法实施的细化时序图;6 is a refinement timing diagram of a method implementation according to a fourth embodiment of the present invention;
图7为本发明第五实施例所述方法应用的系统组网架构图;FIG. 7 is a structural diagram of a system networking of a method according to a fifth embodiment of the present invention; FIG.
图8为本发明第五实施例中在转发面池化场景下的HQoS资源调度方法的流程图;FIG. 8 is a flowchart of a method for scheduling HQoS resources in a forwarding plane pooling scenario according to a fifth embodiment of the present invention;
图9为本发明第五实施例中在转发面非池化场景下的HQoS资源调度方法的流程图。FIG. 9 is a flowchart of a method for scheduling HQoS resources in a non-pooling scenario of a forwarding plane according to a fifth embodiment of the present invention.
具体实施方式detailed description
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the embodiments of the present invention have been shown in the drawings, the embodiments Rather, these embodiments are provided so that this disclosure will be more fully understood and the scope of the disclosure will be fully disclosed.
在本发明第一实施例中,提供一种HQoS资源调度方法,该方法应用在BNG或者vBNG的控制面设备,如图1所示,所述方法包括如下步骤:In the first embodiment of the present invention, an HQoS resource scheduling method is provided. The method is applied to a BNG or vBNG control plane device. As shown in FIG. 1, the method includes the following steps:
步骤S110,实时获取转发面设备上报的单板端口的HQoS队列资源消耗情况;In step S110, the HQoS queue resource consumption of the board port reported by the forwarding plane device is obtained in real time;
在本发明的一个可选实施例中,所述转发面设备通过openflow(开放流)控制通道消息向控制面设备发送HQoS队列资源消耗情况。In an optional embodiment of the present invention, the forwarding plane device sends an HQoS queue resource consumption condition to the control plane device through an openflow (open flow) control channel message.
步骤S120,当所述单板端口的HQoS队列资源消耗情况满足设定的资源调度条件时,设置所述转发面设备的资源调度策略;所述资源调度策略包含资源调度的目的转发面设备信息;In step S120, when the HQoS queue resource consumption of the board port meets the set resource scheduling condition, the resource scheduling policy of the forwarding plane device is set; the resource scheduling policy includes the destination forwarding plane device information of the resource scheduling;
在本发明的一个具体实施例中,所述单板端口的HQoS队列资源消耗情况满足设定的资源调度条件,包括:所述单板端口的HQoS队列资源消耗情况达到了设定的资源消耗阈值。In an embodiment of the present invention, the HQoS queue resource consumption of the board port meets the set resource scheduling condition, and the HQoS queue resource consumption of the board port reaches a set resource consumption threshold. .
相应的,单板端口的HQoS队列资源消耗情况不满足设定的资源调度条件,包括:单板端口的HQoS队列资源消耗情况未达到设定的资源消耗阈值。Correspondingly, the HQoS queue resource consumption of the board port does not meet the set resource scheduling conditions, including: the HQoS queue resource consumption of the board port does not reach the set resource consumption threshold.
也就是说,单板的队列资源是一定的,只要占比达到一定的阈值(百分比),就可以进行调度。That is to say, the queue resource of the board is certain. As long as the proportion reaches a certain threshold (percentage), scheduling can be performed.
其中的资源消耗阈值可以根据网络实际情况进行灵活配置调整,本发明实施例不对其做具体限定。The resource consumption threshold can be flexibly configured and adjusted according to the actual situation of the network, which is not specifically limited in the embodiment of the present invention.
可选地,在本发明的一个具体实施例中,设置转发面设备的资源调度策略,包括:Optionally, in a specific embodiment of the present invention, setting a resource scheduling policy of the forwarding plane device includes:
(1)获取预先配置的所述转发面设备的资源调度组;所述资源调度组中包括可与所述转发面设备进行资源调度的转发面设备信息;其中,资源调度组中的可与所述转发面设备进行资源调度的转发面设备与当前的转发面设备为池化的转发面设备或者为非池化的转发面设备。(1) acquiring a resource scheduling group of the forwarding plane device configured in advance; the resource scheduling group includes forwarding plane device information that can perform resource scheduling with the forwarding plane device; wherein, the resource scheduling group can The forwarding plane device that performs resource scheduling on the forwarding plane device is a pooled forwarding plane device or a non-pooled forwarding plane device.
(2)按照设定的选取策略,在各资源调度组中选定一个资源调度组,并在该资源调度组中选定目的转发面设备。(2) According to the set selection strategy, one resource scheduling group is selected in each resource scheduling group, and the destination forwarding plane device is selected in the resource scheduling group.
本发明实施例中,在设定选取策略时,优先的选取包含的转发面设备与当前的转发面设备为池化的转发面设备的资源调度组,即该类资源调度组的优先级较高。而对于优先级等级相同的资源调度组可以根据需求灵活的设定选取策略,本发明不对其做唯一限定。In the embodiment of the present invention, when the selection policy is set, the forwarding plane device and the current forwarding plane device are preferentially selected as the resource scheduling group of the pooled forwarding plane device, that is, the priority of the resource scheduling group is higher. . For the resource scheduling group with the same priority level, the selection policy can be flexibly set according to requirements, and the present invention does not limit it.
可选地,当选取的资源调度组中包括多个转发面设备信息时,可以但不限于为根据这些转发面设备的HQoS队列资源消耗情况来确定一个消耗较少的转发面设备为目的转发面设备。Optionally, when the selected resource scheduling group includes multiple forwarding plane device information, it may be, but is not limited to, determining, according to the HQoS queue resource consumption of the forwarding plane devices, a forwarding plane device that consumes less forwarding planes. device.
步骤S130,根据所述资源调度策略,将所述单板端口的接入用户调度至所述目的转发面设备。In step S130, the access user of the board port is scheduled to the destination forwarding plane device according to the resource scheduling policy.
可选地,本实施例中,根据所述资源调度策略,将所述单板端口的接入用户调度至目的转发面设备,具体包括:在接收到所述单板端口的接入用户的控制报文时,根据所述资源调度策略,确定目的转发面设备,并向所述目的转发面设备反馈所述控制报文的响应报文。可选地,在接入用户的会话阶段,向目的转发面设备下发用户表项。Optionally, in this embodiment, the scheduling of the access user of the board port to the destination forwarding plane device according to the resource scheduling policy includes: controlling the access user of the board port And determining, according to the resource scheduling policy, the destination forwarding plane device, and feeding back the response packet of the control packet to the destination forwarding plane device. Optionally, the user entry is delivered to the destination forwarding device during the session of the access user.
在本发明的一个可选的实施例中,在设置转发面设备的资源调度策略后,还包括:In an optional embodiment of the present invention, after the resource scheduling policy of the forwarding plane device is set, the method further includes:
判断转发面设备与目的转发面设备是否为池化转发面设备,并在否的情况下,向转发面设备和目的转发面设备下发L2隧道配置信息。通过下发L2隧道配置信息,使得转发面设备和目的转发面设备间能够建立起L2隧道,进而可以将转发面设备的接入用户调度至池外的转发面设备,这样就可以实现跨局点的HQoS资源的调度。其中,L2隧道可以但不限于为VxLAN隧道。The device determines whether the forwarding plane device and the destination forwarding plane device are pooled forwarding plane devices, and if yes, the L2 tunnel configuration information is sent to the forwarding plane device and the destination forwarding plane device. After the L2 tunnel configuration information is delivered, an L2 tunnel can be established between the forwarding plane device and the destination forwarding device. The access user of the forwarding plane device can be scheduled to the forwarding plane device outside the pool. Scheduling of HQoS resources. The L2 tunnel can be, but is not limited to, a VxLAN tunnel.
可选地,在本发明的一个具体实施例中,当所述单板端口的HQoS队列资源消耗情况不再满足设定的资源调度条件时,取消设置的所述转发面设备的所述资源调度策略。Optionally, in a specific embodiment of the present invention, when the HQoS queue resource consumption of the board port no longer satisfies the set resource scheduling condition, the resource scheduling of the forwarding plane device that is set is cancelled. Strategy.
综上可知,本发明实施例所述方法,实现了转发池内的HQoS队列资源的灵活调度以及转发池之间的HQoS队列资源的灵活调度,提高设备资源的利用率,且该调度过程完全是自适应的,对周边网络没有额外的要求,实现成本低。In summary, the method in the embodiment of the present invention implements flexible scheduling of HQoS queue resources in the forwarding pool and flexible scheduling of HQoS queue resources between the forwarding pools, improves device resource utilization, and the scheduling process is completely adaptive. There are no additional requirements for the surrounding network, and the implementation cost is low.
在本发明第二实施例中,提供一种BNG或者vBNG的控制面设备, 如图2所示,所述控制面设备包括:In the second embodiment of the present invention, a control plane device of a BNG or a vBNG is provided. As shown in FIG. 2, the control plane device includes:
HQoS资源调度策略模块210,设置为实时获取转发面设备上报的单板端口的HQoS队列资源消耗情况;The HQoS resource scheduling policy module 210 is configured to obtain the HQoS queue resource consumption of the board port reported by the forwarding plane device in real time;
策略调度模块220,设置为当所述单板端口的HQoS队列资源消耗情况满足设定的资源调度条件时,设置所述转发面设备的资源调度策略;所述资源调度策略包含资源调度的目的转发面设备信息;The policy scheduling module 220 is configured to: when the HQoS queue resource consumption condition of the board port meets the set resource scheduling condition, set a resource scheduling policy of the forwarding plane device; the resource scheduling policy includes a destination forwarding of the resource scheduling Surface device information;
协议处理模块230,设置为根据所述资源调度策略,将所述单板端口的接入用户调度至所述目的转发面设备。The protocol processing module 230 is configured to schedule an access user of the board port to the destination forwarding plane device according to the resource scheduling policy.
基于上述结构框架及实施原理,下面给出在上述结构下的几个具体及优选实施方式,用以细化和优化本发明所述装置的功能,以使本发明方案的实施更方便,准确。具体涉及如下内容:Based on the above structural framework and implementation principle, several specific and preferred embodiments under the above structure are given below to refine and optimize the functions of the device of the present invention, so that the implementation of the solution of the present invention is more convenient and accurate. Specifically related to the following:
本发明实施例中,所述单板端口的HQoS队列资源消耗情况满足设定的资源调度条件,包括:所述单板端口的HQoS队列资源消耗情况达到了设定的资源消耗阈值。其中的资源消耗阈值可以根据网络实际情况进行灵活配置调整,本发明实施例不对其做具体限定。In the embodiment of the present invention, the HQoS queue resource consumption of the board port meets the set resource scheduling condition, and the HQoS queue resource consumption of the board port reaches the set resource consumption threshold. The resource consumption threshold can be flexibly configured and adjusted according to the actual situation of the network, which is not specifically limited in the embodiment of the present invention.
可选地,本发明实施例中,策略调度模块220,具体设置为获取预先配置的所述转发面设备的资源调度组;所述资源调度组中包括可与所述转发面设备进行资源调度的转发面设备信息;按照设定的选取策略,在各资源调度组中选定一个资源调度组,并在该资源调度组中选定目的转发面设备。Optionally, in the embodiment of the present invention, the policy scheduling module 220 is specifically configured to acquire a pre-configured resource scheduling group of the forwarding plane device, where the resource scheduling group includes resource scheduling that can be performed with the forwarding plane device. Forwarding device information; selecting a resource scheduling group in each resource scheduling group according to the selected selection policy, and selecting a destination forwarding plane device in the resource scheduling group.
可选地,本发明实施例中,策略调度模块220,还设置为在设置所述转发面设备的资源调度策略后,判断所述转发面设备与目的转发面设备是否为池化转发面设备,并在否的情况下,向所述转发面设备和目的转发面设备下发L2隧道配置信息。Optionally, in the embodiment of the present invention, the policy scheduling module 220 is further configured to determine, after setting the resource scheduling policy of the forwarding plane device, whether the forwarding plane device and the destination forwarding plane device are pooled forwarding plane devices, And in the case of no, the L2 tunnel configuration information is sent to the forwarding plane device and the destination forwarding plane device.
可选地,本发明实施例中,协议处理模块230,具体设置为在接收到所述单板端口的接入用户的控制报文时,根据所述资源调度策略,确定目的转发面设备,并向所述目的转发面设备反馈所述控制报文的响应报文, 以及向所述目的转发面设备下发用户表项,以将所述接入用户调度至所述目的转发面设备。Optionally, in the embodiment of the present invention, the protocol processing module 230 is configured to: when receiving the control message of the access user of the board port, determine the destination forwarding device according to the resource scheduling policy, and Forwarding the response packet of the control packet to the destination forwarding device, and delivering the user entry to the destination forwarding device to schedule the access user to the destination forwarding device.
可选地,本发明实施例中,策略调度模块220,还设置为当所述单板端口的HQoS队列资源消耗情况不再满足设定的资源调度条件时,取消设置的所述转发面设备的所述资源调度策略。Optionally, in the embodiment of the present invention, the policy scheduling module 220 is further configured to: when the HQoS queue resource consumption of the board port no longer meets the set resource scheduling condition, cancel the set forwarding device The resource scheduling policy.
综上所述,本发明实施例所述控制面设备,实现了转发池内的HQoS队列资源的灵活调度以及转发池之间的HQoS队列资源的灵活调度,提高设备资源的利用率,且该调度过程完全是自适应的,对周边网络没有额外的要求,实现成本低。In summary, the control plane device in the embodiment of the present invention implements flexible scheduling of HQoS queue resources in the forwarding pool and flexible scheduling of HQoS queue resources between the forwarding pools, improves device resource utilization, and the scheduling process is complete. It is adaptive, has no additional requirements for the surrounding network, and has low implementation cost.
在本发明第三实施例中,提供一种HQoS资源调度系统,如图3所示,包括:BNG/vBNG的控制面设备310和多个BNG/vBNG的转发面设备320;In the third embodiment of the present invention, an HQoS resource scheduling system is provided, as shown in FIG. 3, including: a BNG/vBNG control plane device 310 and a plurality of BNG/vBNG forwarding plane devices 320;
所述转发面设备320,包括:The forwarding plane device 320 includes:
资源统计模块321,设置为实时将本转发面设备单板端口的HQoS队列资源消耗情况上报至所述控制面设备;The resource statistic module 321 is configured to report the HQoS queue resource consumption of the forwarding plane device board to the control plane device in real time;
处理模块322,设置为响应所述控制面设备按照设置的资源调度策略执行的用户调度操作;The processing module 322 is configured to respond to a user scheduling operation performed by the control plane device according to the set resource scheduling policy;
所述控制面设备310,包括:The control plane device 310 includes:
HQoS资源调度策略模块311,设置为实时获取各所述转发面设备上报的单板端口的HQoS队列资源消耗情况;The HQoS resource scheduling policy module 311 is configured to acquire the HQoS queue resource consumption status of the board port reported by each forwarding plane device in real time;
策略调度模块312,设置为当某所述转发面设备的单板端口的HQoS队列资源消耗情况满足设定的资源调度条件时,设置该转发面设备的资源调度策略;所述资源调度策略包含资源调度的目的转发面设备信息;The policy scheduling module 312 is configured to set a resource scheduling policy of the forwarding plane device when the HQoS queue resource consumption condition of the board port of the forwarding plane device meets the set resource scheduling condition; the resource scheduling policy includes the resource Scheduling destination forwarding plane device information;
协议处理模块313,设置为根据所述资源调度策略,将该转发面设备的单板端口的接入用户调度至所述目的转发面设备。The protocol processing module 313 is configured to schedule, according to the resource scheduling policy, the access user of the board port of the forwarding plane device to the destination forwarding plane device.
本发明实施例中,所述单板端口的HQoS队列资源消耗情况满足设定 的资源调度条件,包括:所述单板端口的HQoS队列资源消耗情况达到了设定的资源消耗阈值。其中的资源消耗阈值可以根据网络实际情况进行灵活配置调整,本发明实施例不对其做具体限定。In the embodiment of the present invention, the HQoS queue resource consumption of the board port meets the set resource scheduling condition, and the HQoS queue resource consumption of the board port reaches the set resource consumption threshold. The resource consumption threshold can be flexibly configured and adjusted according to the actual situation of the network, which is not specifically limited in the embodiment of the present invention.
可选地,本发明实施例中,策略调度模块312,具体设置为获取预先配置的所述转发面设备的资源调度组;所述资源调度组中包括可与所述转发面设备进行资源调度的转发面设备信息;按照设定的选取策略,在各资源调度组中选定一个资源调度组,并在该资源调度组中选定目的转发面设备。Optionally, in the embodiment of the present invention, the policy scheduling module 312 is specifically configured to acquire a pre-configured resource scheduling group of the forwarding plane device, where the resource scheduling group includes resource scheduling that can be performed with the forwarding plane device. Forwarding device information; selecting a resource scheduling group in each resource scheduling group according to the selected selection policy, and selecting a destination forwarding plane device in the resource scheduling group.
可选地,本发明实施例中,策略调度模块312,还设置为在设置转发面设备的资源调度策略后,判断该转发面设备与目的转发面设备是否为池化转发面设备,并在否的情况下,向该转发面设备和目的转发面设备下发L2隧道配置信息;Optionally, in the embodiment of the present invention, the policy scheduling module 312 is further configured to determine, after setting the resource scheduling policy of the forwarding plane device, whether the forwarding plane device and the destination forwarding plane device are pooled forwarding plane devices, and whether The L2 tunnel configuration information is sent to the forwarding plane device and the destination forwarding plane device.
处理模块322,还设置为在接收到所述控制面设备发送的所述L2隧道配置信息时,根据所述L2隧道配置信息,与配置信息指示的转发面设备建立L2隧道,并在确定出本模块所属转发面设备为需要进行资源调度的转发面设备时,通过所述L2隧道,向所述目的转发面设备发送接入端口的端口信息。The processing module 322 is further configured to: when receiving the L2 tunnel configuration information sent by the control plane device, establish an L2 tunnel with the forwarding plane device indicated by the configuration information according to the L2 tunnel configuration information, and determine the current When the forwarding plane device to which the module belongs is a forwarding plane device that needs to perform resource scheduling, the port information of the access port is sent to the destination forwarding plane device through the L2 tunnel.
可选地,本发明实施例中,处理模块322,具体设置为当接收到接入用户的控制报文时,若当前已建立所述L2隧道且本模块所属转发面设备为需要进行资源调度的转发面设备,则将所述控制报文通过所述L2隧道发送至所述目的转发面设备;否则,直接将所述控制报文发送到所述控制面设备。Optionally, in the embodiment of the present invention, the processing module 322 is specifically configured to: when receiving the control message of the access user, if the L2 tunnel is currently established and the forwarding plane device to which the module belongs is required to perform resource scheduling. The forwarding plane device sends the control packet to the destination forwarding plane device through the L2 tunnel; otherwise, the control packet is directly sent to the control plane device.
其中,处理模块322,将控制报文封装为L2隧道报文,利用所述L2隧道,将封装得到的L2隧道报文发送至目的转发面设备;其中,在封装时将本转发面设备的接入端口信息封装在L2隧道报文中。The processing module 322 encapsulates the control packet into an L2 tunnel packet, and uses the L2 tunnel to send the encapsulated L2 tunnel packet to the destination forwarding plane device. The inbound port information is encapsulated in the L2 tunnel packet.
可选地,本发明实施例中,协议处理模块313,具体设置为在接收到需要进行资源调度的转发面设备的控制报文时,根据所述资源调度策略, 确定目的转发面设备,并向所述目的转发面设备反馈所述控制报文的响应报文,以及向所述目的转发面设备下发用户表项;Optionally, in the embodiment of the present invention, the protocol processing module 313 is specifically configured to: when receiving the control packet of the forwarding plane device that needs to perform resource scheduling, determine the destination forwarding plane device according to the resource scheduling policy, and The destination forwarding plane device feeds back the response packet of the control packet, and delivers the user entry to the destination forwarding plane device;
处理模块322,还设置为在接收到所述响应报文时,根据所述响应报文携带的端口信息,将所述响应报文直接发送至对应的接入用户,或者,将所述响应报文通过所述L2隧道发送到对应的转发面设备;以及在接收到所述控制面设备发送的用户表项时,进行用户表项更新。The processing module 322 is further configured to: when receiving the response message, send the response message directly to the corresponding access user according to the port information carried in the response message, or send the response message The file is sent to the corresponding forwarding plane device by using the L2 tunnel; and when the user entry sent by the control plane device is received, the user entry is updated.
可选地,本发明实施例中,策略调度模块312,还设置为当转发面设备的单板端口的HQoS队列资源消耗情况不再满足设定的资源调度条件时,取消设置的该转发面设备的资源调度策略。Optionally, in the embodiment of the present invention, the policy scheduling module 312 is further configured to: when the HQoS queue resource consumption of the board port of the forwarding plane device no longer meets the set resource scheduling condition, the forwarding plane device is cancelled. Resource scheduling strategy.
本发明实施例所述系统,实现了BNG/vBNG转发面HQoS队列资源灵活调度,提高设备资源的利用率,且该调度过程完全是自适应的,对周边网络没有额外的要求,实现成本低。The system in the embodiment of the present invention implements flexible scheduling of HQoS queue resources on the BNG/vBNG forwarding plane, improves the utilization of equipment resources, and the scheduling process is completely adaptive, and has no additional requirements on the surrounding network, and the implementation cost is low.
在本发明第四实施例中,提供一种HQoS资源调度系统,如图4所示,所述系统包含的网元和网络模块有:用户设备、BNG/vBNG-C(BNG/vBNG Control Plane)设备、多个BNG/vBNG-U(BNG/vBNG User Plane)设备、AAA设备和接入网络,其中:In the fourth embodiment of the present invention, an HQoS resource scheduling system is provided. As shown in FIG. 4, the network element and the network module included in the system are: user equipment, BNG/vBNG-C (BNG/vBNG Control Plane) Equipment, multiple BNG/vBNG-U (BNG/vBNG User Plane) devices, AAA devices, and access networks, where:
用户设备,包括但不限于为住宅网关(Residential Gateway,简称为RG)、用户侧设备(Customer Premise Equipment,简称为CPE)、个人计算机(Personal Computer,简称为PC),网络电话(Voice over Internet Protocol,简称为VoIP),网络电视(Internet Protocol Television,简称为IPTV),机顶盒(Set Top Box,简称为STB),或者,综合接入设备(Integrated Access Device,简称为IAD)。User equipment, including but not limited to, Residential Gateway (RG), Customer Premise Equipment (CPE), Personal Computer (PC), Voice over Internet Protocol (Voice over Internet Protocol) , referred to as VoIP), Internet Protocol Television (IPTV), Set Top Box (STB), or Integrated Access Device (IAD).
BNG/vBNG-C设备,包含BNG的控制面设备和vBNG的控制面设备,主要是进行宽带用户接入的协议协商、用户认证、接入控制、用户管理,等。BNG/vBNG-C equipment, including BNG control plane equipment and vBNG control plane equipment, mainly for protocol negotiation, user authentication, access control, and user management for broadband user access.
BNG/vBNG-U设备,包含BNG的转发面设备和vBNG的转发面设备, 主要负责用户流量的转发和控制,负责对用户相关的流策略的执行。The BNG/vBNG-U device, including the forwarding plane device of the BNG and the forwarding plane device of the vBNG, is mainly responsible for forwarding and controlling user traffic, and is responsible for executing the traffic policy related to the user.
基于上述系统架构,结合图5,对本发明实施例提供的HQoS资源调度方法的实施过程进行详细阐述。可选地,如图5所示,本实施例所述方法主要包括如下步骤:Based on the foregoing system architecture, with reference to FIG. 5, the implementation process of the HQoS resource scheduling method provided by the embodiment of the present invention is described in detail. Optionally, as shown in FIG. 5, the method in this embodiment mainly includes the following steps:
第一步,BNG/vBNG-U实时将自身单板、端口的HQoS队列资源消耗情况统计上报给BNG/vBNG-C;In the first step, the BNG/vBNG-U reports the consumption of the HQoS queue resources of the board and the port to the BNG/vBNG-C.
第二步,BNG/vBNG-C根据预先设置的资源消耗阈值(Pmax、Pmin)策略来进行BNG/vBNG-U的接入用户session(会话)调度判断,当判断出BNG/vBNG-U的HQoS队列资源消耗超过Pmax值时,为该BNG/vBNG-U设置调度策略。其中,Pmax为阈值高值,Pmin为阈值低值;In the second step, the BNG/vBNG-C performs the BNG/vBNG-U access user session (session) scheduling judgment according to the preset resource consumption threshold (Pmax, Pmin) policy, and determines the HQoS of the BNG/vBNG-U. When the queue resource consumption exceeds the Pmax value, a scheduling policy is set for the BNG/vBNG-U. Where Pmax is a threshold high value and Pmin is a threshold low value;
第三步,在接入用户discovery(发现)阶段,BNG/vBNG-C对HQoS队列资源消耗超过Pmax值的BNG/vBNG-U执行调度策略,以将该BNG/vBNG-U单板、端口后续接入的用户session调度至其他资源充足的BNG/vBNG-U进行接入;In the third step, in the access user discovery phase, the BNG/vBNG-C performs a scheduling policy on the BNG/vBNG-U in which the HQoS queue resource consumption exceeds the Pmax value, so as to follow the BNG/vBNG-U board and port. The accessed user session is scheduled to be accessed by other BNG/vBNG-Us with sufficient resources;
第四步,当对应执行调度策略的BNG/vBNG-U单板、端口队列资源消耗低于Pmin值时,BNG/vBNG-C撤销对应BNG/vBNG-U的调度策略。In the fourth step, when the BNG/vBNG-U board and the port queue resource consumption of the scheduling policy are lower than the Pmin value, the BNG/vBNG-C cancels the scheduling policy corresponding to the BNG/vBNG-U.
如图6所示为是上面步骤的时序图,下面结合该时序图对上述步骤的具体实施过程进行说明,可选地:FIG. 6 is a timing diagram of the above steps, and the specific implementation process of the foregoing steps is described below in conjunction with the timing diagram, optionally:
所述第一步包括:The first step includes:
101,BNG/vBNG-U-1和BNG/vBNG-U-2均将自身单板、端口的HQoS队列资源情况统计上报给BNG/vBNG-C。101. Both BNG/vBNG-U-1 and BNG/vBNG-U-2 report the HQoS queue resources of the board and port to BNG/vBNG-C.
所述第二步包括:The second step includes:
201,BNG/vBNG-C的HQoS资源调度策略模块接收到HQoS队列资源情况后,根据预先设置的HQoS资源消耗阈值(Pmax、Pmin),请求策略调度模块对超过Pmax值的BNG/vBNG-U-1设置调度策略。本发明实施例中,令设置的调度策略为将BNG/vBNG-U-1后续接入的用户session调 度至BNG/vBNG-U-2进行接入。201. After receiving the HQoS queue resource condition, the HQoS resource scheduling policy module of the BNG/vBNG-C requests the policy scheduling module to BNG/vBNG-U exceeding the Pmax value according to the preset HQoS resource consumption threshold (Pmax, Pmin). 1 Set the scheduling policy. In the embodiment of the present invention, the scheduled scheduling policy is to schedule the user session subsequently accessed by the BNG/vBNG-U-1 to the BNG/vBNG-U-2 for access.
所述第三步包括:The third step includes:
分为两个场景,场景一为转发面成池:Divided into two scenarios, the first scenario is the forwarding surface into a pool:
301A,用户设备通过OLT(全称为Optical Line Terminal,光线路终端)/SW(全称为Switch,交换机)向BNG/vBNG-U-1和BNG/vBNG-U-2广播PADI(主机广播发起分组)/DHCP(全称为Dynamic Host Configuration Protocol,动态主机配置协议)控制报文;301A. The user equipment broadcasts PADI (Host Broadcast Initiation Packet) to BNG/vBNG-U-1 and BNG/vBNG-U-2 through OLT (all called Optical Line Terminal)/SW (full name: Switch, switch). /DHCP (full name Dynamic Host Configuration Protocol) controls the message;
302A,BNG/vBNG-U-1和BNG/vBNG-U-2的控制报文封装模块在接收到广播的控制报文后,对控制报文进行隧道的封装,并通过L2隧道将封装后的报文发送到BNG/vBNG-C;其中,L2隧道可以是VxLAN隧道、L2VPN隧道、GRE(全称为Generic Routing Encapsulation)隧道等。The control packet encapsulating module of the 302A, BNG/vBNG-U-1 and BNG/vBNG-U-2, after receiving the broadcast control packet, encapsulates the control packet and encapsulates it through the L2 tunnel. The packet is sent to the BNG/vBNG-C. The L2 tunnel can be a VxLAN tunnel, an L2VPN tunnel, or a GRE (full name Generic Routing Encapsulation) tunnel.
303A,BNG/vBNG-C的控制报文解封装模块通过L2隧道收到从BNG/vBNG-U-1以及BNG/vBNG-U-2发送过来的控制报文后,解封装,并将解封装后的控制报文发送到PPPoE(全称为Point to Point Protocol over Ethernet,基于以太网的点对点通讯协议)/DHCP协议处理模块。303A, the control packet decapsulation module of the BNG/vBNG-C receives the control packet sent from the BNG/vBNG-U-1 and the BNG/vBNG-U-2 through the L2 tunnel, decapsulates, and decapsulates The subsequent control message is sent to PPPoE (all called Point to Point Protocol over Ethernet)/DHCP protocol processing module.
304A,BNG/vBNG-C的PPPoE/DHCP协议处理模块向策略调度模块请求调度策略。The PPPoE/DHCP protocol processing module of the 304A, BNG/vBNG-C requests a scheduling policy from the policy scheduling module.
305A,BNG/vBNG-C的策略调度模块根据在先设置的调度策略,进行调度策略响应。The 305A, BNG/vBNG-C policy scheduling module performs a scheduling policy response according to the previously set scheduling policy.
306A,BNG/vBNG-C的PPPoE/DHCP协议处理模块将根据调度策略,只回应BNG/vBNG-U-2发送过来的控制报文。306A, the PPPoE/DHCP protocol processing module of the BNG/vBNG-C will only respond to the control packet sent by the BNG/vBNG-U-2 according to the scheduling policy.
307A,BNG/vBNG-U-2的控制报文封装模块在接收到控制报文的响应报文后,通过OLT/SW向用户设备返回响应报文。After receiving the response packet of the control packet, the control packet encapsulating module of the 307A and the BNG/vBNG-U-2 returns a response packet to the user equipment through the OLT/SW.
308A,在会话阶段,用户设备通过OLT/SW向BNG/vBNG-U-2发起PPPoE/IPoE协议流程;308A. During the session, the user equipment initiates a PPPoE/IPoE protocol process to the BNG/vBNG-U-2 through the OLT/SW.
309A,BNG/vBNG-U-2的控制报文封装模块接收到协议流程报文后, 将其发送至BNG/vBNG-C的PPPoE/DHCP协议处理模块。After receiving the protocol flow message, the control packet encapsulating module of the BNG/vBNG-U-2 sends the packet to the PPPoE/DHCP protocol processing module of the BNG/vBNG-C.
310A,BNG/vBNG-C的PPPoE/DHCP协议处理模块向AAA设备发起认证请求,并接收AAA设备反馈的认证响应。The PPPoE/DHCP protocol processing module of the BNG/vBNG-C initiates an authentication request to the AAA device, and receives an authentication response fed back by the AAA device.
311A,BNG/vBNG-C的PPPoE/DHCP协议处理模块向用户表管理模块发起用户表更新;311A, the PPPoE/DHCP protocol processing module of the BNG/vBNG-C initiates a user table update to the user table management module;
312A,BNG/vBNG-C的用户表管理模块通过openflow向BNG/vBNG-U-2下发用户表项,将BNG/vBNG-U-1的接入用户调度到BNG/vBNG-U-2。312A. The user list management module of the BNG/vBNG-C delivers the user entry to the BNG/vBNG-U-2 through the openflow, and schedules the access user of the BNG/vBNG-U-1 to the BNG/vBNG-U-2.
场景二为转发面未成池: Scenario 2 is that the forwarding plane is not pooled:
301B,BNG/vBNG-C在对超过Pmax值的BNG/vBNG-U-1设置调度策略后,利用策略调度模块向BNG/vBNG-U-1和BNG/vBNG-U-2的配置管理模块下发配置,建立BNG/vBNG-U-1与BNG/vBNG-U-2之间的VxLAN隧道;301B, BNG/vBNG-C uses the policy scheduling module to configure the management module under BNG/vBNG-U-1 and BNG/vBNG-U-2 after setting the scheduling policy for BNG/vBNG-U-1 exceeding the Pmax value. Send a configuration to establish a VxLAN tunnel between BNG/vBNG-U-1 and BNG/vBNG-U-2;
302B,用户设备通过OLT/SW向BNG/vBNG-U-1发送PADI/DHCP控制报文。302B. The user equipment sends a PADI/DHCP control message to the BNG/vBNG-U-1 through the OLT/SW.
303B,BNG/vBNG-U-1的控制报文封装模块收到用户设备的控制报文后,通过VxLAN隧道进行封装发送到BNG/vBNG-U-2。303B: After receiving the control packet of the user equipment, the control packet encapsulating module of the BNG/vBNG-U-1 is encapsulated and sent to the BNG/vBNG-U-2 through the VxLAN tunnel.
304B,BNG/vBNG-U-2的控制报文封装模块通过L2隧道将控制报文发送给BNG/vBNG-C。The control packet encapsulating module of the BNG/vBNG-U-2 sends the control packet to the BNG/vBNG-C through the L2 tunnel.
305B、BNG/vBNG-C的控制报文解封装模块通过L2隧道收到从BNG/vBNG-U-1以及BNG/vBNG-U-2发送过来的控制报文后,解封装,并将解封装后的控制报文发送到PPPoE/DHCP协议处理模块。The control packet decapsulation module of the 305B and the BNG/vBNG-C receives the control packet sent from the BNG/vBNG-U-1 and the BNG/vBNG-U-2 through the L2 tunnel, decapsulates, and decapsulates the packet. The subsequent control message is sent to the PPPoE/DHCP protocol processing module.
306B,BNG/vBNG-C的PPPoE/DHCP协议处理模块向策略调度模块请求调度策略。306B. The PPPoE/DHCP protocol processing module of the BNG/vBNG-C requests a scheduling policy from the policy scheduling module.
307B,BNG/vBNG-C的策略调度模块根据在先设置的调度策略,进行调度策略响应。307B. The policy scheduling module of the BNG/vBNG-C performs a scheduling policy response according to the previously set scheduling policy.
308B,BNG/vBNG-C的PPPoE/DHCP协议处理模块将根据调度策略,对BNG/vBNG-U-2发送过来的控制报文进行回应。308B, the PPPoE/DHCP protocol processing module of the BNG/vBNG-C responds to the control packet sent by the BNG/vBNG-U-2 according to the scheduling policy.
309B,BNG/vBNG-U-2的控制报文封装模块在接收到控制报文的响应报文后,依次通过BNG/vBNG-U-1和OLT/SW向用户设备返回响应报文。309B: After receiving the response packet of the control packet, the control packet encapsulating module of the BNG/vBNG-U-2 sequentially returns a response packet to the user equipment through the BNG/vBNG-U-1 and the OLT/SW.
310B,在会话阶段,用户设备通过OLT/SW、BNG/vBNG-U-1向BNG/vBNG-U-2发起PPPoE/IPoE协议流程;310B, in the session phase, the user equipment initiates a PPPoE/IPoE protocol process to the BNG/vBNG-U-2 through the OLT/SW and the BNG/vBNG-U-1;
311B,BNG/vBNG-U-2的控制报文封装模块接收到协议流程报文后,将其发送至BNG/vBNG-C的PPPoE/DHCP协议处理模块。After receiving the protocol flow message, the control packet encapsulating module of the BNG/vBNG-U-2 sends the packet to the PPPoE/DHCP protocol processing module of the BNG/vBNG-C.
312B,BNG/vBNG-C的PPPoE/DHCP协议处理模块向AAA设备发起认证请求,并接收AAA设备反馈的认证响应。312B: The PPPoE/DHCP protocol processing module of the BNG/vBNG-C initiates an authentication request to the AAA device, and receives an authentication response fed back by the AAA device.
313B,BNG/vBNG-C的PPPoE/DHCP协议处理模块向用户表管理模块发起用户表更新;313B, the PPPoE/DHCP protocol processing module of the BNG/vBNG-C initiates a user table update to the user table management module;
314B,BNG/vBNG-C的用户表管理模块通过openflow向BNG/vBNG-U-2下发用户表项,以将BNG/vBNG-U-1的接入用户调度到BNG/vBNG-U-2。314B, BNG/vBNG-C user table management module delivers user entries to BNG/vBNG-U-2 through openflow to schedule BNG/vBNG-U-1 access users to BNG/vBNG-U-2 .
所述第四步包括:The fourth step includes:
401,BNG/vBNG-C根据收到的BNG/vBNG-U-1的HQoS队列资源消耗情况判断出HQoS队列资源消耗低于Pmin值,则取消设置的调度策略;401. The BNG/vBNG-C determines, according to the received HQoS queue resource consumption condition of the BNG/vBNG-U-1, that the HQoS queue resource consumption is lower than the Pmin value, and then cancels the set scheduling policy.
402,BNG/vBNG-U-1的接入用户继续从本地进行接入。402. The access user of BNG/vBNG-U-1 continues to access from the local.
本发明实施例中,BNG/vBNG-U中的控制报文封装模块和用户表管理模块相当于第三实施例中的处理模块。In the embodiment of the present invention, the control packet encapsulation module and the user table management module in the BNG/vBNG-U are equivalent to the processing module in the third embodiment.
在本发明第五实施例中,提供一种HQoS资源调度方法,如图7所示,为本实施例所述方法应用的系统架构图,本实施例将着重描述HQoS资源灵活调度组件设计。图中,S表示资源调度组,P表示用户接入端口。S1、 S2和S3是针对BNG/vBNG-U-1的端口P1资源调度策略组。In the fifth embodiment of the present invention, an HQoS resource scheduling method is provided. As shown in FIG. 7, a system architecture diagram is applied to the method according to the embodiment. This embodiment will focus on the HQoS resource flexible scheduling component design. In the figure, S represents a resource scheduling group, and P represents a user access port. S1, S2, and S3 are port P1 resource scheduling policy groups for BNG/vBNG-U-1.
可选地,本实施例中,首先定义了S的具体实施例S1、S2、S3。其中,S1、S2为转发面池化场景,S3为转发面非池化场景。Optionally, in this embodiment, specific embodiments S1, S2, and S3 of S are first defined. S1 and S2 are the forwarding plane pooling scenarios, and S3 is the forwarding plane non-pooling scenario.
资源调度组S1包括了两个转发面设备,分别为BNG/vBNG-U-1、BNG/vBNG-U-2,语法表达为S1(BNG/vBNG-U-1&P1、BNG/vBNG-U-2&P2),P1和P2分别为用户接入端口;The resource scheduling group S1 includes two forwarding plane devices, namely BNG/vBNG-U-1 and BNG/vBNG-U-2, and the syntax is S1 (BNG/vBNG-U-1&P1, BNG/vBNG-U-2&P2). ), P1 and P2 are user access ports, respectively;
资源调度组S2包括了两个转发面设备,分别为BNG/vBNG-U-1、BNG/vBNG-U-3,语法表达为S2(BNG/vBNG-U-1&P1、BNG/vBNG-U-3&P3);The resource scheduling group S2 includes two forwarding plane devices, namely BNG/vBNG-U-1 and BNG/vBNG-U-3, and the syntax is S2 (BNG/vBNG-U-1&P1, BNG/vBNG-U-3&P3). );
资源调度组S3包括了两个转发面设备,分别为BNG/vBNG-U-1、BNG/vBNG-U-4,语法表达为S3(BNG/vBNG-U-1&P1、BNG/vBNG-U-4)。The resource scheduling group S3 includes two forwarding plane devices, namely BNG/vBNG-U-1 and BNG/vBNG-U-4, and the syntax is S3 (BNG/vBNG-U-1&P1, BNG/vBNG-U-4). ).
当BNG/vBNG-C控制面判断出BNG/vBNG-U-1P1端口HQoS队列资源不足时,优先进行池化转发面之间进行资源调度,也就是优先执行S1或S2资源调度组策略,S1和S2调度组策略均需要关联用户接入端口,也就是P1、P2、P3,需要保证接入端口VLAN一致。When the BNG/vBNG-C control plane determines that the HQoS queue resources of the BNG/vBNG-U-1P1 port are insufficient, the resource scheduling is performed preferentially between the pooled forwarding planes, that is, the S1 or S2 resource scheduling group policy is preferentially executed, S1 and The S2 scheduling group policy needs to be associated with the user access port, that is, P1, P2, and P3.
可选地,当池化转发面内的资源均不足时,BNG/vBNG-C控制面进行非池化转发面之间的资源调度,也就是执行S3资源调度组策略,这样可以不受接入网络的限制,实现跨局点的HQoS资源调度。Optionally, when the resources in the pooled forwarding plane are insufficient, the BNG/vBNG-C control plane performs resource scheduling between the non-pooled forwarding planes, that is, performs an S3 resource scheduling group policy, so that the access zone is not accessible. Network restrictions to achieve HQoS resource scheduling across sites.
可选地,S3资源调度组由于跨二层接入网络,BNG/vBNG-U-1的P1端口相关的VLAN-ID、端口ID、设备ID均需封装在VxLAN隧道中传递给BNG/vBNG-U-4,用于用户信息精确绑定,BNG/vBNG-U-4进行Vxlan用户接入,并且在本地进行相关用户信息的路由发布。Optionally, the S3 resource scheduling group needs to be encapsulated in the VxLAN tunnel and transmitted to the BNG/vBNG in the VxLAN tunnel due to the cross-layer 2 access network. U-4 is used for accurate binding of user information. BNG/vBNG-U-4 performs Vxlan user access and routes the related user information locally.
如图8所示,为本发明实施例中在转发面池化场景下的HQoS资源调度方法的流程图,包括:As shown in FIG. 8 , a flowchart of an HQoS resource scheduling method in a forwarding plane pooling scenario according to an embodiment of the present invention includes:
步骤1,BNG/vBNG-C针对不同的BNG/vBNG-U设置相应的HQoS资源阈值,可以制定差异化的阈值策略;Step 1: BNG/vBNG-C sets corresponding HQoS resource thresholds for different BNG/vBNG-Us, and a differentiated threshold policy can be formulated;
步骤2,各BNG/vBNG-U实时向BNG/vBNG-C上报自身单板、端口HQoS队列资源消耗情况;Step 2: Each BNG/vBNG-U reports the consumption of the HQoS queue resources of the board and the port to the BNG/vBNG-C in real time;
步骤3,大量用户拨号接入,使某BNG/vBNG-U-1单板、P1端口的HQoS队列资源利用率超出BNG/vBNG-C设置的阈值上限;Step 3: A large number of users dial in to access, so that the HQoS queue resource utilization of a BNG/vBNG-U-1 board and a P1 port exceeds the upper threshold set by BNG/vBNG-C;
步骤4,BNG/vBNG-C针对该BNG/vBNG-U-1的P1端口生成资源调度组策略,假设生成的资源调度组策略为S1;Step 4: The BNG/vBNG-C generates a resource scheduling group policy for the P1 port of the BNG/vBNG-U-1, and assumes that the generated resource scheduling group policy is S1.
步骤5,BNG/vBNG-U-1单板、P1端口后续接入用户调度至池内的BNG/vBNG-U-2的P2端口进行接入。Step 5: The BNG/vBNG-U-1 board and the P1 port are subsequently connected to the P2 port of the BNG/vBNG-U-2 in the pool for access.
如图9所示,为本发明实施例中在转发面非池化场景下的HQoS资源调度方法的流程图,包括:As shown in FIG. 9, a flowchart of an HQoS resource scheduling method in a non-pooling scenario of a forwarding plane according to an embodiment of the present invention includes:
步骤1,BNG/vBNG-C针对不同的BNG/vBNG-U设置相应的HQoS资源阈值,可以制定差异化的阈值策略;Step 1: BNG/vBNG-C sets corresponding HQoS resource thresholds for different BNG/vBNG-Us, and a differentiated threshold policy can be formulated;
步骤2,BNG/vBNG-U实时向BNG/vBNG-C上报自身单板、端口HQoS队列资源消耗情况;Step 2: The BNG/vBNG-U reports the consumption of the HQoS queue resources of the board and the port to the BNG/vBNG-C in real time.
步骤3,大量用户拨号接入,使某BNG/vBNG-U-1单板、P1端口的HQoS队列资源利用率超出BNG/vBNG-C设置的阈值上限;Step 3: A large number of users dial in to access, so that the HQoS queue resource utilization of a BNG/vBNG-U-1 board and a P1 port exceeds the upper threshold set by BNG/vBNG-C;
步骤4,BNG/vBNG-C针对BNG/vBNG-U-1的P1端口生成资源调度组策略,假设生成的资源调度组策略为S3,则向资源调度组S3内BNG/vBNG-U-1和BNG/vBNG-U-4下发VxLAN隧道配置;Step 4: BNG/vBNG-C generates a resource scheduling group policy for the P1 port of the BNG/vBNG-U-1. If the generated resource scheduling group policy is S3, the BNG/vBNG-U-1 and the resource scheduling group S3 are generated. The VNGLAN tunnel configuration is delivered by the BNG/vBNG-U-4.
步骤5,BNG/vBNG-U-1和BNG/vBNG-U-4利用下发的隧道配置信息建立起VxLAN隧道;Step 5: The BNG/vBNG-U-1 and the BNG/vBNG-U-4 establish a VxLAN tunnel by using the delivered tunnel configuration information;
步骤6,BNG/vBNG-U-1单板、P1端口后续接入用户通过VxLAN隧道调度至池外BNG/vBNG-U-4上线,并且需要将BNG/vBNG-U-1的接入端口P1的相关信息(设备ID、端口ID、VLAN-ID)封装在VxLAN报文中传递给池外BNG/vBNG-U-4,用于用户信息的精确绑定。Step 6: The BNG/vBNG-U-1 board and the subsequent access users of the P1 port are scheduled to go online to the BNG/vBNG-U-4 through the VxLAN tunnel, and the access port P1 of the BNG/vBNG-U-1 needs to be connected. The related information (device ID, port ID, and VLAN-ID) is encapsulated in a VxLAN message and passed to the out-of-pool BNG/vBNG-U-4 for accurate binding of user information.
本发明的实施例还提供了一种存储介质,该存储介质中存储有计算机 程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。Embodiments of the present invention also provide a storage medium having stored therein a computer program, wherein the computer program is configured to execute the steps of any one of the method embodiments described above.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。Optionally, in the embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM). A variety of media that can store computer programs, such as hard drives, disks, or optical disks.
本发明的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。Embodiments of the present invention also provide an electronic device comprising a memory and a processor having a computer program stored therein, the processor being arranged to execute a computer program to perform the steps of any of the method embodiments described above.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围 内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种HQoS资源调度方法、设备和系统具有以下有益效果:实现了BNG/vBNG转发面HQoS队列资源灵活调度,提高设备资源的利用率,且该调度过程完全是自适应的,对周边网络没有额外的要求,实现成本低。As described above, the HQoS resource scheduling method, device, and system provided by the embodiments of the present invention have the following beneficial effects: the flexible scheduling of the HQoS queue resources on the BNG/vBNG forwarding plane is implemented, and the utilization of the device resources is improved, and the scheduling process is complete. It is adaptive, has no additional requirements for the surrounding network, and has low implementation cost.

Claims (22)

  1. 一种分层服务质量HQoS资源调度方法,应用于宽带网络网关BNG或者虚拟vBNG的控制面设备,所述方法包括:A hierarchical service quality HQoS resource scheduling method is applied to a control plane device of a broadband network gateway BNG or a virtual vBNG, and the method includes:
    实时获取转发面设备上报的单板端口的HQoS队列资源消耗情况;Obtain the HQoS queue resource consumption of the board port reported by the forwarding plane device in real time.
    当所述单板端口的HQoS队列资源消耗情况满足设定的资源调度条件时,设置所述转发面设备的资源调度策略;所述资源调度策略包含资源调度的目的转发面设备信息;Setting a resource scheduling policy of the forwarding plane device when the HQoS queue resource consumption of the board port meets the configured resource scheduling condition; the resource scheduling policy includes the destination forwarding plane device information of the resource scheduling;
    根据所述资源调度策略,将所述单板端口的接入用户调度至所述目的转发面设备。The access user of the board port is scheduled to the destination forwarding plane device according to the resource scheduling policy.
  2. 如权利要求1所述的方法,其中,所述单板端口的HQoS队列资源消耗情况满足设定的资源调度条件,包括:所述单板端口的HQoS队列资源消耗情况达到了设定的资源消耗阈值。The method of claim 1, wherein the HQoS queue resource consumption of the board port meets the set resource scheduling condition, including: the HQoS queue resource consumption of the board port reaches the set resource consumption. Threshold.
  3. 如权利要求1所述的方法,其中,所述设置所述转发面设备的资源调度策略,包括:The method of claim 1, wherein the setting a resource scheduling policy of the forwarding plane device comprises:
    获取预先配置的所述转发面设备的资源调度组;所述资源调度组中包括可与所述转发面设备进行资源调度的转发面设备信息;Acquiring a pre-configured resource scheduling group of the forwarding plane device; the resource scheduling group includes forwarding plane device information that can perform resource scheduling with the forwarding plane device;
    按照设定的选取策略,在各资源调度组中选定一个资源调度组,并在该资源调度组中选定目的转发面设备。According to the set selection policy, one resource scheduling group is selected in each resource scheduling group, and the destination forwarding plane device is selected in the resource scheduling group.
  4. 如权利要求1或2或3所述的方法,其中,在设置所述转发面设备的资源调度策略后,还包括:The method of claim 1 or 2 or 3, further comprising: after setting the resource scheduling policy of the forwarding plane device,
    判断所述转发面设备与目的转发面设备是否为池化转发面设备,并在否的情况下,向所述转发面设备和目的转发面设备下发L2隧道配置信息。And determining whether the forwarding plane device and the destination forwarding plane device are pooled forwarding plane devices, and if not, transmitting L2 tunnel configuration information to the forwarding plane device and the destination forwarding plane device.
  5. 如权利要求1所述的方法,其中,所述根据所述资源调度策略,将所述单板端口的接入用户调度至所述目的转发面设备,包括:The method of claim 1, wherein the scheduling the access user of the board port to the destination forwarding plane device according to the resource scheduling policy comprises:
    在接收到所述单板端口的接入用户的控制报文时,根据所述资源调度策略,确定目的转发面设备,并向所述目的转发面设备反馈所述控制报文的响应报文,以及向所述目的转发面设备下发用户表项。When receiving the control message of the access user of the board port, determining the destination forwarding plane device according to the resource scheduling policy, and feeding back the response packet of the control packet to the destination forwarding plane device, And sending a user entry to the destination forwarding device.
  6. 如权利要求1或2或3或5所述的方法,其中,还包括:The method of claim 1 or 2 or 3 or 5, further comprising:
    当所述单板端口的HQoS队列资源消耗情况不再满足设定的资源调度条件时,取消设置的所述转发面设备的所述资源调度策略。When the HQoS queue resource consumption of the board port no longer meets the set resource scheduling condition, the resource scheduling policy of the forwarding plane device is cancelled.
  7. 一种BNG或者vBNG的控制面设备,包括:A BNG or vBNG control surface device, including:
    HQoS资源调度策略模块,设置为实时获取转发面设备上报的单板端口的HQoS队列资源消耗情况;The HQoS resource scheduling policy module is configured to obtain the HQoS queue resource consumption of the board port reported by the forwarding plane device in real time;
    策略调度模块,设置为当所述单板端口的HQoS队列资源消耗情况满足设定的资源调度条件时,设置所述转发面设备的资源调度策略;所述资源调度策略包含资源调度的目的转发面设备信息;The policy scheduling module is configured to: when the HQoS queue resource consumption condition of the board port meets the set resource scheduling condition, set a resource scheduling policy of the forwarding plane device; the resource scheduling policy includes a destination forwarding plane of the resource scheduling Device Information;
    协议处理模块,设置为根据所述资源调度策略,将所述单板端口的接入用户调度至所述目的转发面设备。The protocol processing module is configured to schedule the access user of the board port to the destination forwarding plane device according to the resource scheduling policy.
  8. 如权利要求7所述的控制面设备,其中,所述单板端口的HQoS队列资源消耗情况满足设定的资源调度条件,包括:所述单板端口的HQoS队列资源消耗情况达到了设定的资源消耗阈值。The control plane device of claim 7, wherein the HQoS queue resource consumption of the board port meets the set resource scheduling condition, including: the HQoS queue resource consumption of the board port reaches a set value. Resource consumption threshold.
  9. 如权利要求7所述的控制面设备,其中,所述策略调度模块,具体设置为获取预先配置的所述转发面设备的资源调度组;所述资源调度组中包括可与所述转发面设备进行资源调度的转发面设备信息;按照设定的选取策略,在各资源调度组中选定一个资源调度组,并在 该资源调度组中选定目的转发面设备。The control plane device according to claim 7, wherein the policy scheduling module is specifically configured to acquire a pre-configured resource scheduling group of the forwarding plane device; and the resource scheduling group includes a forwarding plane device The forwarding plane device information of the resource scheduling is performed; according to the set selection policy, one resource scheduling group is selected in each resource scheduling group, and the destination forwarding plane device is selected in the resource scheduling group.
  10. 如权利要求7或8或9所述的控制面设备,其中,所述策略调度模块,还设置为在设置所述转发面设备的资源调度策略后,判断所述转发面设备与目的转发面设备是否为池化转发面设备,并在否的情况下,向所述转发面设备和目的转发面设备下发L2隧道配置信息。The control plane device according to claim 7 or 8 or 9, wherein the policy scheduling module is further configured to determine the forwarding plane device and the destination forwarding plane device after setting the resource scheduling policy of the forwarding plane device Whether it is a pooled forwarding plane device, and if not, the L2 tunnel configuration information is sent to the forwarding plane device and the destination forwarding plane device.
  11. 如权利要求7所述的控制面设备,其中,所述协议处理模块,具体设置为在接收到所述单板端口的接入用户的控制报文时,根据所述资源调度策略,确定目的转发面设备,并向所述目的转发面设备反馈所述控制报文的响应报文,以及向所述目的转发面设备下发用户表项。The control plane device according to claim 7, wherein the protocol processing module is configured to determine a destination forwarding according to the resource scheduling policy when receiving a control message of an access user of the board port. The device forwards the response packet of the control packet to the destination forwarding device, and delivers the user entry to the destination forwarding device.
  12. 如权利要求7或8或9或11所述的控制面设备,其中,所述策略调度模块,还设置为当所述单板端口的HQoS队列资源消耗情况不再满足设定的资源调度条件时,取消设置的所述转发面设备的所述资源调度策略。The control plane device according to claim 7 or 8 or 9 or 11, wherein the policy scheduling module is further configured to: when the HQoS queue resource consumption of the board port no longer satisfies the set resource scheduling condition And canceling the set resource scheduling policy of the forwarding plane device.
  13. 一种分层服务质量HQoS资源调度系统,包括:BNG/vBNG的控制面设备和多个BNG/vBNG的转发面设备;A hierarchical service quality HQoS resource scheduling system, comprising: a BNG/vBNG control plane device and a plurality of BNG/vBNG forwarding plane devices;
    所述转发面设备,包括:The forwarding plane device includes:
    资源统计模块,设置为实时将本转发面设备单板端口的HQoS队列资源消耗情况上报至所述控制面设备;The resource statistics module is configured to report the consumption of the HQoS queue resource of the forwarding plane device to the control plane device in real time;
    处理模块,设置为响应所述控制面设备按照设置的资源调度策略执行的用户调度操作;a processing module, configured to respond to a user scheduling operation performed by the control plane device according to the set resource scheduling policy;
    所述控制面设备,包括:The control surface device includes:
    HQoS资源调度策略模块,设置为实时获取各所述转发面设备上 报的单板端口的HQoS队列资源消耗情况;The HQoS resource scheduling policy module is configured to obtain the HQoS queue resource consumption status of the board port reported by each forwarding plane device in real time;
    策略调度模块,设置为当某所述转发面设备的单板端口的HQoS队列资源消耗情况满足设定的资源调度条件时,设置该转发面设备的资源调度策略;所述资源调度策略包含资源调度的目的转发面设备信息;a policy scheduling module, configured to: when a HQoS queue resource consumption condition of a board port of a forwarding plane device meets a set resource scheduling condition, set a resource scheduling policy of the forwarding plane device; the resource scheduling policy includes resource scheduling Destination forwarding device information;
    协议处理模块,设置为根据所述资源调度策略,将该转发面设备的单板端口的接入用户调度至所述目的转发面设备。The protocol processing module is configured to schedule, according to the resource scheduling policy, the access user of the board port of the forwarding plane device to the destination forwarding plane device.
  14. 如权利要求13所述的系统,其中,所述单板端口的HQoS队列资源消耗情况满足设定的资源调度条件,包括:所述单板端口的HQoS队列资源消耗情况达到了设定的资源消耗阈值。The system of claim 13, wherein the HQoS queue resource consumption of the board port meets the set resource scheduling condition, including: the HQoS queue resource consumption of the board port reaches the set resource consumption. Threshold.
  15. 如权利要求13所述的系统,其中,所述策略调度模块,具体设置为获取预先配置的所述转发面设备的资源调度组;所述资源调度组中包括可与所述转发面设备进行资源调度的转发面设备信息;按照设定的选取策略,在各资源调度组中选定一个资源调度组,并在该资源调度组中选定目的转发面设备。The system of claim 13, wherein the policy scheduling module is configured to acquire a pre-configured resource scheduling group of the forwarding plane device; and the resource scheduling group includes a resource that can be used with the forwarding plane device. The forwarding forwarding device information is scheduled; according to the selected selection policy, one resource scheduling group is selected in each resource scheduling group, and the destination forwarding plane device is selected in the resource scheduling group.
  16. 如权利要求13或14或15所述的系统,其中,所述策略调度模块,还设置为在设置转发面设备的资源调度策略后,判断该转发面设备与目的转发面设备是否为池化转发面设备,并在否的情况下,向该转发面设备和目的转发面设备下发L2隧道配置信息;The system of claim 13 or 14 or 15, wherein the policy scheduling module is further configured to determine whether the forwarding plane device and the destination forwarding plane device are pooled forwarding after setting a resource scheduling policy of the forwarding plane device. And, in the case of the device, the L2 tunnel configuration information is sent to the forwarding plane device and the destination forwarding plane device;
    所述处理模块,还设置为在接收到所述控制面设备发送的所述L2隧道配置信息时,根据所述L2隧道配置信息,与配置信息指示的转发面设备建立L2隧道,并在确定出本模块所属转发面设备为需要进行资源调度的转发面设备时,通过所述L2隧道,向所述目的转发面设备发送接入端口的端口信息。The processing module is further configured to: when receiving the L2 tunnel configuration information sent by the control plane device, establish an L2 tunnel with the forwarding plane device indicated by the configuration information according to the L2 tunnel configuration information, and determine When the forwarding plane device to which the module belongs is a forwarding plane device that needs to perform resource scheduling, the port information of the access port is sent to the destination forwarding plane device through the L2 tunnel.
  17. 如权利要求16所述的系统,其中,The system of claim 16 wherein
    所述处理模块,具体设置为当接收到接入用户的控制报文时,若当前已建立所述L2隧道且本模块所属转发面设备为需要进行资源调度的转发面设备,则将所述控制报文通过所述L2隧道发送至所述目的转发面设备;否则,直接将所述控制报文发送到所述控制面设备。The processing module is specifically configured to: when receiving the control message of the access user, if the L2 tunnel is currently established and the forwarding plane device to which the module belongs is a forwarding plane device that needs to perform resource scheduling, the control is performed. The packet is sent to the destination forwarding plane device through the L2 tunnel; otherwise, the control packet is directly sent to the control plane device.
  18. 如权利要求17所述的系统,其中,所述处理模块,具体设置为将所述控制报文封装为L2隧道报文,利用所述L2隧道,将封装得到的L2隧道报文发送至目的转发面设备;其中,在封装时将本转发面设备的接入端口信息封装在L2隧道报文中。The system of claim 17, wherein the processing module is configured to encapsulate the control packet into an L2 tunnel packet, and use the L2 tunnel to send the encapsulated L2 tunnel packet to the destination forwarding. The device is encapsulated in the L2 tunnel packet during the encapsulation.
  19. 如权利要求17所述的系统,其中,所述协议处理模块,具体设置为在接收到需要进行资源调度的转发面设备的控制报文时,根据所述资源调度策略,确定目的转发面设备,并向所述目的转发面设备反馈所述控制报文的响应报文,以及向所述目的转发面设备下发用户表项;The system of claim 17, wherein the protocol processing module is configured to determine a destination forwarding device according to the resource scheduling policy when receiving a control packet of a forwarding plane device that needs to perform resource scheduling, And sending the response packet of the control packet to the destination forwarding device, and sending the user entry to the destination forwarding device;
    所述处理模块,还设置为在接收到所述响应报文时,根据所述响应报文携带的端口信息,将所述响应报文直接发送至对应的接入用户,或者,将所述响应报文通过所述L2隧道发送到对应的转发面设备;以及在接收到所述控制面设备发送的用户表项时,进行用户表项更新。The processing module is further configured to: when receiving the response packet, send the response packet directly to the corresponding access user according to the port information carried in the response packet, or send the response The packet is sent to the corresponding forwarding plane device through the L2 tunnel; and when the user entry sent by the control plane device is received, the user entry is updated.
  20. 如权利要求13至15、17至19任意一项所述的系统,其中,所述策略调度模块,还设置为当转发面设备的单板端口的HQoS队列资源消耗情况不再满足设定的资源调度条件时,取消设置的该转发面设备的资源调度策略。The system according to any one of claims 13 to 15, 17 to 19, wherein the policy scheduling module is further configured to: when the HQoS queue resource consumption of the board port of the forwarding plane device no longer satisfies the set resource When the condition is scheduled, the resource scheduling policy of the forwarding plane device is canceled.
  21. 一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至6任一项中所述的方法。A storage medium having stored therein a computer program, wherein the computer program is arranged to execute the method of any one of claims 1 to 6 at runtime.
  22. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求1至6任一项中所述的方法。An electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor being arranged to execute the computer program to perform the method of any one of claims 1 to 6.
PCT/CN2018/080928 2017-04-12 2018-03-28 Hqos resource scheduling method, device and system WO2018188487A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710235661.6A CN108696456B (en) 2017-04-12 2017-04-12 HQoS resource scheduling method, equipment and system
CN201710235661.6 2017-04-12

Publications (1)

Publication Number Publication Date
WO2018188487A1 true WO2018188487A1 (en) 2018-10-18

Family

ID=63792314

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/080928 WO2018188487A1 (en) 2017-04-12 2018-03-28 Hqos resource scheduling method, device and system

Country Status (2)

Country Link
CN (1) CN108696456B (en)
WO (1) WO2018188487A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021121086A1 (en) * 2019-12-16 2021-06-24 中兴通讯股份有限公司 Traffic scheduling method, electronic device and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112804162B (en) * 2019-11-13 2024-04-09 深圳市中兴微电子技术有限公司 Scheduling method, scheduling device, terminal equipment and storage medium
CN113630809A (en) * 2021-08-12 2021-11-09 迈普通信技术股份有限公司 Service forwarding method, device and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478475A (en) * 2008-11-21 2009-07-08 中兴通讯股份有限公司 Method for implementing HQoS technique in T-MPLS network
US20120149310A1 (en) * 2010-12-13 2012-06-14 Mostafa Tofighbakhsh Collaborative Radio Resources Allocations to Applications of Mobile Units
CN103200124A (en) * 2013-03-07 2013-07-10 北京华为数字技术有限公司 Service strategy adjustment method and service strategy adjustment device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102292941B (en) * 2009-09-28 2013-11-06 华为技术有限公司 Protection method for subscriber access network and equipment thereof
CN103517249B (en) * 2012-06-29 2018-11-16 中兴通讯股份有限公司 A kind of methods, devices and systems of policy control
WO2014060589A1 (en) * 2012-10-18 2014-04-24 Nec Europe Ltd. Method and system for handling subscribers' network traffic
CN104734867B (en) * 2013-12-19 2019-05-03 中兴通讯股份有限公司 Network service node fault handling method, apparatus and system
CN104320272B (en) * 2014-10-21 2019-03-15 中国联合网络通信集团有限公司 A kind of method and the network equipment of transmission equipment information
CN106487788B (en) * 2016-09-30 2019-10-29 中国联合网络通信集团有限公司 A kind of user access method, SDN controller, forwarding device and subscriber access system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478475A (en) * 2008-11-21 2009-07-08 中兴通讯股份有限公司 Method for implementing HQoS technique in T-MPLS network
US20120149310A1 (en) * 2010-12-13 2012-06-14 Mostafa Tofighbakhsh Collaborative Radio Resources Allocations to Applications of Mobile Units
CN103200124A (en) * 2013-03-07 2013-07-10 北京华为数字技术有限公司 Service strategy adjustment method and service strategy adjustment device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021121086A1 (en) * 2019-12-16 2021-06-24 中兴通讯股份有限公司 Traffic scheduling method, electronic device and storage medium

Also Published As

Publication number Publication date
CN108696456B (en) 2022-04-12
CN108696456A (en) 2018-10-23

Similar Documents

Publication Publication Date Title
US10230627B2 (en) Service path allocation method, router and service execution entity
EP1876754B1 (en) Method system and server for implementing dhcp address security allocation
CN107786613B (en) Broadband remote access server BRAS forwarding implementation method and device
WO2015196562A1 (en) Method for configuring scheduling information, method for processing configuration parameters and apparatuses
WO2018188487A1 (en) Hqos resource scheduling method, device and system
WO2015149604A1 (en) Load balancing method, apparatus and system
JP2019527988A (en) Packet transmission
US9300551B2 (en) Service quality management system and method
WO2019096140A1 (en) Method, device and system for managing network service
CN105122747A (en) Control device and control method in software defined network (sdn)
US10326669B2 (en) Data service policy control based on software defined network (SDN) key performance indicators (KPIS)
CN108566286B (en) Method for realizing service quality of intelligent router, router and electronic equipment
WO2018113591A1 (en) Scheduling method, system, controller and computer storage medium
US11558491B2 (en) Information-centric networking over 5G or later networks
WO2017166936A1 (en) Method and device for implementing address management, and aaa server and sdn controller
US9100214B1 (en) Performing customer bandwidth profiling in computer networks
CN100375483C (en) Method and apparatus for dynamically assigning network endpoint to network region
WO2012151920A1 (en) Method and device for service transmission
CN113949645A (en) Service processing method, device, equipment and system
CN109525489A (en) A kind of Convergence gateway and data transmission method
WO2020238564A1 (en) Traffic processing method and related device, method and apparatus for establishing forwarding table, and storage medium
WO2017063511A1 (en) Sdn-based residential cell network control system
WO2011113264A1 (en) Traffic management method and apparatus in switching network
WO2015090035A1 (en) Network resource sharing processing and sharing method, device and system
CN101980488A (en) Address resolution protocol (ARP) table entry management method and three-layer exchanger

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

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

Country of ref document: EP

Kind code of ref document: A1