WO2019042379A1 - 流量调度方法、装置、服务器及存储介质 - Google Patents

流量调度方法、装置、服务器及存储介质 Download PDF

Info

Publication number
WO2019042379A1
WO2019042379A1 PCT/CN2018/103356 CN2018103356W WO2019042379A1 WO 2019042379 A1 WO2019042379 A1 WO 2019042379A1 CN 2018103356 W CN2018103356 W CN 2018103356W WO 2019042379 A1 WO2019042379 A1 WO 2019042379A1
Authority
WO
WIPO (PCT)
Prior art keywords
broadband access
access device
broadband
standby
bng
Prior art date
Application number
PCT/CN2018/103356
Other languages
English (en)
French (fr)
Inventor
花荣荣
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2019042379A1 publication Critical patent/WO2019042379A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/76Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0882Utilisation of link capacity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • 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/74Admission control; Resource allocation measures in reaction to resource unavailability
    • H04L47/746Reaction triggered by a failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0061Transmission or use of information for re-establishing the radio link of neighbour cell information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point

Definitions

  • the present disclosure relates to the field of data communication technologies, such as a traffic scheduling method, apparatus, server, and storage medium.
  • SDN Software Defined Network
  • NFV Network Function Virtualization
  • BNG Broadband Network Gateway
  • the main requirements for BNG equipment in user access are user authentication, access control, and traffic scheduling.
  • the number of sessions supported by BNG devices is constantly increasing, the requirements for user access bandwidth are increasing, and the requirements for BNG devices to provide services open and programmable are becoming more and more demanding. high.
  • multiple terminal devices are connected to the BNG.
  • the uplink traffic of the BNG device may reach the upper limit, and the user may not be able to access the Internet through the terminal device.
  • the embodiments of the present disclosure provide a method, a device, a server, and a storage medium for scheduling traffic, which can be self-scheduling when the load of the broadband access device is too large, to avoid network anomalies and improve the network quality of the user.
  • the present disclosure provides a traffic scheduling method, the method comprising:
  • the terminal device accessing the broadband access device is scheduled to access from the standby broadband access device corresponding to the identity identifier.
  • the disclosure also provides a traffic scheduling device, the device comprising:
  • a broadband utilization receiving module configured to receive a broadband utilization rate of the broadband access device reported by the broadband access device
  • the identity obtaining module is configured to acquire an identity of the standby broadband access device when the broadband utilization exceeds a preset value
  • the automatic switching module is configured to schedule the terminal device that accesses the broadband access device to access from the standby broadband access device corresponding to the identity identifier.
  • the present disclosure also provides a server comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor implementing the above-described traffic scheduling method when executing the computer program.
  • the present disclosure also provides a storage medium storing a computer program that, when executed by a processor, implements the above-described traffic scheduling method.
  • FIG. 1 is a flowchart of a traffic scheduling method provided by an embodiment
  • FIG. 2 is a flowchart of a traffic scheduling method provided by another embodiment
  • FIG. 3 is a flowchart of a traffic scheduling method provided by another embodiment
  • FIG. 4 is a schematic diagram of a usage environment of a traffic scheduling method according to an embodiment
  • FIG. 5 is a flowchart of a traffic scheduling method in a usage scenario provided by an embodiment
  • Figure 6 is a timing diagram provided by an embodiment
  • FIG. 7 is a schematic diagram of a usage environment of a traffic scheduling method according to another embodiment.
  • FIG. 8 is a flowchart of a traffic scheduling method in a usage scenario according to another embodiment.
  • FIG. 9 is a block diagram showing an exemplary structure of a traffic scheduling apparatus according to an embodiment.
  • FIG. 10 is a schematic diagram of an internal structure of a server provided by an embodiment.
  • FIG. 1 is a flowchart of a traffic scheduling method provided by an embodiment.
  • the traffic scheduling method provided by this embodiment is described below with reference to FIG. This method is applied to the server of the control plane and is applicable to the uplink. As shown in Figure 1, the method includes the following steps.
  • Step 1010 Receive broadband utilization of the broadband access device reported by the broadband access device.
  • the broadband utilization is data detected by the broadband access device or the standby broadband access device itself to indicate the load status of the broadband access device or the standby broadband access device itself.
  • the broadband utilization rate may be a percentage value reported by the broadband access device, or may be a value between 0 and 1.
  • the broadband access device may be a port in a broadband network gateway (for example, a Broadband Network Gateway-User Plane (BNG-U)) or a port of a virtual broadband network gateway. (For example, Virtual Broadband Network Gateway-User Plane (vBNG-U)).
  • BNG-U Broadband Network Gateway-User Plane
  • vBNG-U Virtual Broadband Network Gateway-User Plane
  • Step 1020 Acquire an identity of the standby broadband access device when the broadband utilization exceeds a preset value.
  • the preset value of the broadband utilization may be preset by a programmer.
  • different preset values may be set according to different performances of the corresponding broadband access device, for example, the preset value may be set to 80%, or the preset value may be set to 90%.
  • the standby broadband access device and the broadband access device may be mutually active and standby, that is, the standby broadband access device may also be used as a broadband access device, and the broadband access device may also be used.
  • the device is used as a backup broadband access device. If the broadband access device is defined as the first broadband access device and the backup broadband access device is defined as the second broadband access device, the broadband access device can also be viewed.
  • the second broadband access device is regarded as the first broadband access device.
  • the identifier of the standby broadband access device may be a device name of the standby broadband access device, or may be a number set in advance for the backup broadband access device or other capable of indicating the backup broadband connection.
  • the unique identifier of the device may be a device name of the standby broadband access device, or may be a number set in advance for the backup broadband access device or other capable of indicating the backup broadband connection.
  • Step 1030 Automatically switch the terminal device that accesses the broadband access device to access from the backup broadband access device corresponding to the identity identifier.
  • the method further includes: sending an instruction to the standby broadband access device to instruct the standby broadband access device to send, to the terminal device, an interconnection between networks allocated for each terminal device.
  • Protocol Internet Protocol, IP
  • the trigger condition for instructing the standby broadband access device to send the IP address assigned to each terminal device to the terminal device is indicated when receiving the broadcast message requesting the IP address sent by the terminal device, that is, receiving And when the terminal device sends a broadcast message requesting the IP address, sending an instruction to the standby broadband access device to instruct the standby broadband access device to send the IP address allocated for each terminal device to the terminal device.
  • the terminal device does not directly send a broadcast message to the server, but sends a request message requesting an IP address to all the broadband access devices and the standby broadband access device that are in communication connection with the terminal device, and is currently connected.
  • the broadband access device that enters the terminal device sends the request message to the server of the local control plane.
  • the broadband access device has multiple broadband access ports, and the terminal device that accesses the broadband access device is automatically switched to access from the backup broadband access device corresponding to the identity identifier, including: The terminal device of the broadband access port accessing the broadband access device is configured to access the standby broadband access device corresponding to the identity identifier until the detected broadband utilization rate does not exceed the preset value. Stop automatic switching. Therefore, when the broadband utilization rate of the broadband access device exceeds a preset value, the terminal device that accesses one broadband access port in the broadband access device is cyclically switched to the standby broadband access corresponding to the identity identifier. The device accesses until the broadband utilization is detected to exceed the preset value.
  • the broadband access port may be a Gigabit port or a 10 Gigabit port.
  • the Gigabit Ethernet corresponding to the Gigabit Ethernet port provides an optimal path compared to the original Fast Ethernet. It is a reliable and economical way to improve the backbone connection between the switch and the switch and the connection between the switch and the server.
  • Designers can build high-speed infrastructure that efficiently uses high-speed, mission-critical applications and file backups, and network managers will provide users with faster access to the Internet, intranet, metro, and WAN. .
  • 10 Gigabit devices have higher bandwidth (10G) and longer transmission distance (up to 40 kilometers), which greatly improves the quality of service (QoS) and adopts 10 Gigabit Ethernet in enterprise networks.
  • the network can be well connected to the enterprise backbone router, which greatly simplifies the network topology and improves network performance. Can better meet the needs of network security, service quality and link protection.
  • the terminal device accessed in the broadband access device is automatically switched to correspond to the identity identifier.
  • the access of the standby broadband access device enables the automatic identification and automatic switching when the load of the broadband access device is too large, so as to implement the traffic monitoring of the traffic generated by the terminal device, which can avoid network abnormality and improve users. Network quality.
  • FIG. 2 is a flowchart of a traffic scheduling method provided by another embodiment.
  • the traffic scheduling method provided by this embodiment is described below with reference to FIG. 2 .
  • the method includes the above steps 1010 and 1020, and the step 1030 includes: automatically switching the broadband access port of one of the terminal devices accessed in the broadband access device to the identity identifier from the identity identifier.
  • the standby broadband access device performs access, and when the broadband utilization exceeds the preset value, the step is cycled until it is detected that the broadband utilization does not exceed the preset value.
  • step 103 includes the following steps.
  • step 2010 the broadband access port of one of the terminal devices connected to the broadband access device is automatically switched to access from the backup broadband access device corresponding to the identity identifier, and the process proceeds to step 2020.
  • Step 2020 Determine whether the broadband utilization exceeds a preset value. If yes, go to step 2010. If not, go to step 2030.
  • Step 2030 the end.
  • the terminal devices accessed in the broadband access device are switched to the standby broadband access device one by one until the broadband access device is used.
  • the broadband utilization rate is within the preset range, which can improve the accuracy and moderation of traffic scheduling, and avoid switching the broadband access port of too many terminal devices to access from the standby broadband access device at a time, resulting in backup bandwidth.
  • the load on the access device is too high, and there is an unnecessary operation that needs to be re-scheduled.
  • FIG. 3 is a flowchart of a traffic scheduling method provided by another embodiment. As shown in FIG. 3, the method further includes the following steps on the basis of the foregoing steps 1010, 1020, and 1030.
  • Step 3010 Update the stored first set and the second set, where the first set stores the identification information of the terminal device that accesses the broadband access device, and the second set stores the access to the standby broadband access device. Identification information of the terminal device.
  • the list of servers stored in the local control plane is not limited to the first set and the second set, and the list stored by the local end corresponds to the number of the controlled broadband access devices.
  • the set of identification information of the terminal device that stores the access corresponding to the broadband access device may also be multiple.
  • the "sets" in the first set and the second set described above include, but are not limited to, lists, arrays, queues, and the like.
  • Step 3020 Send a message that the terminal device is online to the standby broadband access device.
  • the identifier information of the terminal device may be an International Mobile Equipment Identity (IMEI) of the terminal device or a mobile phone number used by the terminal device, etc.
  • IMEI International Mobile Equipment Identity
  • the standby broadband access device is When receiving the message that the terminal device is online, the user online list stored in the standby broadband access device is updated.
  • the method may further include: transmitting, to the broadband access device, a message that the terminal device has been online on another broadband access device, the broadband access device receiving the terminal device is already in another broadband connection When the message is sent to the device, the user online list stored in the broadband access device is updated, and the corresponding terminal device is deleted in the list.
  • FIG. 4 is a schematic diagram of a usage environment of a traffic scheduling method provided by an embodiment.
  • the included network element and the network module include user equipment, BNG/vBNG-C (BNG/vBNG Control Plane) module, and BNG/vBNG-U ( BNG/vBNG User Plane module, Core Router (CR) module, Authentication, Authorization, Accounting (AAA) module and access network, including control plane encapsulation/solution Encapsulation module and resource scheduling policy module.
  • BNG/vBNG-C BNG/vBNG Control Plane
  • BNG/vBNG-U BNG/vBNG User Plane module
  • Core Router (CR) module Core Router (CR) module
  • AAA Authentication, Authorization, Accounting
  • access network including control plane encapsulation/solution Encapsulation module and resource scheduling policy module.
  • the AAA module is a server program that can handle user access requests, and provides servers for authentication, authorization, and account services.
  • the user equipment includes, but is not limited to, a Residential Gateway (RG), a Customer Premise Equipment (CPE), a Personal Computer (PC), a Voice over Internet Protocol (VoIP), and a network television.
  • 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
  • the BNG/vBNG-C module includes the control plane of the BNG and the control plane of the vBNG, mainly for protocol negotiation, user authentication, access control, and user management for broadband user access, and also includes the front pool of the BNG/vBNG (Forward pool). ).
  • the BNG/vBNG-U module includes the forwarding plane of the BNG and the forwarding plane of the vBNG. It is mainly responsible for the forwarding and control of user traffic and is responsible for the execution of the user.
  • FIG. 5 is a flowchart of a traffic scheduling method in a usage scenario provided by an embodiment.
  • a processing scheme for flexible scheduling of user traffic resources provided in this embodiment includes the following steps.
  • the BNG/vBNG-U monitors the status of the CR interconnection link in real time, and reports the bandwidth utilization of the CR interconnection link to the BNG/vBNG-C.
  • the BNG/vBNG-U forwarding pool forms a backup relationship.
  • the user entries are uniformly delivered to the BNG/vBNG-U, and the primary BNG/vBNG-U and standby BNG/vBNG are used by the BNG/vBNG-C control plane.
  • - User entries of the U user access port are synchronized in real time.
  • the BNG/vBNG-U reports the statistics of the broadband resource consumption of the CR link to the BNG/vBNG-C in real time.
  • Step 5020 The BNG/vBNG-C traffic resource policy module schedules the BNG/vBNG-U to access the user according to the set broadband utilization threshold high value Pmax and the threshold low value Pmin.
  • the BNG/vBNG-C performs the active/standby state switching of the access port of the BNG/vBNG-U according to the preset bandwidth utilization threshold (Pmax and Pmin) policies.
  • Step 5030 When the broadband utilization ratio of the BNG/vBNG-U and the CR interconnection link reaches the Pmax value, the BNG/vBNG-C traffic resource policy module schedules the user corresponding to the BNG/vBNG-U port access to other broadband resources. Backup BNG/vBNG-U. Pmax is a threshold high value.
  • the BNG/vBNG-C When the broadband utilization of the BNG/vBNG-U and the CR interconnection link exceeds the Pmax value, the BNG/vBNG-C performs a user traffic scheduling policy to the corresponding BNG/vBNG-U, which will correspond to the BNG/vBNG-
  • the U part user access port is set to standby, and the user is scheduled to access the standby BNG/vBNG-U port with sufficient link broadband resources for access.
  • step 5040 when the bandwidth utilization of the BNG/vBNG-U and the CR interconnection link is reduced to the Pmin value, the BNG/vBNG-C traffic resource policy module cancels the user scheduling corresponding to the BNG/vBNG-U port access.
  • the bandwidth utilization of the BNG/vBNG-U and the CR interconnection link corresponding to the user traffic scheduling policy is lower than the Pmin value, the BNG/vBNG-C cancels the user traffic scheduling policy corresponding to the BNG/vBNG-U.
  • FIG. 6 is a timing diagram provided by one embodiment. A number of refinement steps are described below in conjunction with FIG. 6:
  • the above-mentioned step 5010 includes: BNG/vBNG-U reports the broadband utilization of the CR interconnection link to the BNG/vBNG-C.
  • the above step 5020 includes: BNG/vBNG-C preset link broadband utilization thresholds (Pmax and Pmin), and executing a scheduling policy for BNG/vBNG-U-1 exceeding Pmax value, and BNG/vBNG-U-1
  • Pmax and Pmin BNG/vBNG-C preset link broadband utilization thresholds
  • BNG/vBNG-U-1 A part of the primary port is set to be used as a backup, and the user route corresponding to the access port of the BNG/vBNG-U-1 is revoked, and the backup port corresponding to the BNG/vBNG-U-2 is used as the primary port, and the user route corresponding to the access port is advertised.
  • User traffic is switched to BNG/vBNG-U-2.
  • the above step 5030 includes the following steps.
  • Step 1 The tunnel that sends the control packet to the BNG/vBNG-U is a virtual extensible LAN (VxLAN) tunnel.
  • the tunneling of the tunnel is required in BNG/vBNG-U.
  • Step 2 The BNG/vBNG-C receives the control packet sent from the BNG/vBNG-U-1 and the BNG/vBNG-U-2 through the VxLan tunnel, and decapsulates the packet.
  • Step 3 Based on the policy in the traffic policy scheduling module, the BNG/vBNG-C only responds to the control packet sent by the BNG/vBNG-U-2 to the primary port.
  • Step 4 The BNG/vBNG-C sends a user entry to the BNG/vBNG-U-2 primary port through the open flow (openflow) to access subsequent users.
  • the above step 5040 includes the following steps.
  • BNG/vBNG-C receives the bandwidth utilization statistics of the BNG/vBNG-U-1 and CR interconnect ports.
  • BNG/vBNG-C cancels the scheduling policy for BNG/vBNG-U-1, and restores some ports of BNG/vBNG-U-1 to the main use.
  • the usage scenario of the embodiment implements flexible scheduling of user traffic on the BNG/vBNG forwarding plane.
  • the forwarding plane and the CR interconnection link are faulty or the user access is severely uneven between the forwarding planes, the CR can be forwarded on the interface.
  • the link does not generate congestion and guarantees the reliability of the service.
  • the technical solution has the advantages of being adaptive and has no additional requirements for the surrounding network.
  • the technical solution provided in this embodiment implements flexible scheduling of user traffic between the forwarding pools and improves the utilization of device resources.
  • FIG. 7 is a schematic diagram of a usage environment of a traffic scheduling method according to another embodiment.
  • S1 and S2 are defined, and S1 and S2 are forwarding plane pooling hot standby scenarios: wherein the scheduling group module S1 includes two forwarding plane devices, respectively BNG/vBNG-U-1 And BNG/vBNG-U-2, the syntax is expressed as S1 (BNG/vBNG-U-1&P1, BNG/vBNG-U-1&P2), and P1 and P2 are respectively user access ports; wherein the scheduling group module S2 includes two The forwarding plane devices are BNG/vBNG-U-2 and BNG/vBNG-U-3, respectively, and the syntax is S2 (BNG/vBNG-U-2&P3, BNG/vBNG-U-3&P4); L1 to L6 are forwarding planes. On the upstream network side interface connected to the CR, the forwarding plane needs to report the port status and the bandwidth utilization of the L1 to L6 to the
  • the BNG/vBNG-C control plane receives the BNG/vBNG-U-1 L1 port failure, the L2 port failure, or the broadband utilization exceeds the threshold high value Pmax
  • the BNG/vBNG-U-2 uplink is determined.
  • the bandwidth utilization of the L3 and L4 ports If the broadband utilization of L3 and L4 is sufficient, the user traffic scheduling between the backup and forwarding planes will be performed, that is, the S1 scheduling group policy is executed, and the BNG/vBNG-U-1 P1 port is set.
  • the route of the P1 port is removed from the user, and the BNG/vBNG-U-2 P2 port is used as the primary device.
  • the P2 port is used to access the user's route, and the user traffic is switched to the P2 port.
  • the P1 and P2 port user access routes are the same, and all the routes are sent by the BNG/vBNG-C control plane.
  • the BNG/vBNG-C control plane receives the BNG/vBNG-U-2 L3 port failure, the L4 port failure, or the broadband utilization exceeds the threshold high value Pmax
  • the BNG/vBNG-U-3 uplink is determined. L5 and L6 bandwidth utilization. If the broadband utilization of L5 and L6 is sufficient, user traffic scheduling between backup and forwarding planes will be performed, that is, the S2 scheduling group policy will be executed, and the BNG/vBNG-U-2 P3 port will be set to Standby, the BNG/vBNG-U-3 P4 port is used as the primary, and the user traffic is switched to the P4 port.
  • S1 and S2 implement user traffic scheduling across the forwarding plane, and the P1 port related VLAN-identity (Identity, ID), port ID, and device ID of the BNG/vBNG-U-1 need to be associated with BNG/vBNG-U-
  • the 2P2 ports are consistent.
  • the P1 port and the P2 port can be configured with the logical port ID and the logical device ID for precise binding of user information.
  • the P-port related VLAN-ID, port ID, and device ID of the BNG/vBNG-U-2 need to be BNG/vBNG-U-3 P4 ports are consistent.
  • P3 ports and P4 ports can be configured with logical port IDs and logical device IDs for precise binding of user information.
  • FIG. 8 is a flowchart of a traffic scheduling method in a usage scenario provided by another embodiment. As shown in FIG. 8, the usage scenario of this embodiment includes the following steps.
  • Step 8010 The BNG/vBNG-C control plane sets a bandwidth utilization threshold for the BNG/vBNG-U forwarding plane.
  • the BNG/vBNG-C control plane sets the corresponding uplink link CR link utilization threshold for different BNG/vBNG-U forwarding planes, and a differentiated threshold policy can be formulated.
  • Step 8020 The BNG/vBNG-U forwarding plane reports the bandwidth utilization statistics of the CR interconnection link to the control plane in real time.
  • Step 8030 The user access is uneven or the link is faulty, so that the bandwidth utilization of the forwarding interface of the BNG/vBNG-U and the CR interconnection link exceeds the bandwidth utilization threshold set by the control plane. For example, a large number of users dial-up access or a link interconnected with a CR fails, so that the bandwidth utilization of a BNG/vBNG-U forwarding uplink port exceeds the control plane setting threshold.
  • Step 8040 The BNG/vBNG-C control plane generates a scheduling group policy for the BNG/vBNG-U.
  • step 8050 the subsequent access users of the BNG/vBNG-U ports are scheduled to access other backup forwarding planes in the pool.
  • the BNG/vBNG-U port is switched to standby, and the corresponding user route is revoked.
  • the subsequent access users are scheduled to access other forwarding planes in the pool to advertise the corresponding user routes.
  • the decoupling of BNG forwarding and control is a trend. After decoupling between forwarding and control, the control plane can manage multiple forwarding planes and perform flexible scheduling of users, traffic, and resources between multiple forwarding planes. Both utilization and reliability can be greatly improved.
  • the main purpose of the present disclosure is to decouple the BNG forwarding and control, the forwarding plane adopts the traditional hardware form, and the control plane adopts the X86 general-purpose server to maintain the metropolitan area network architecture unchanged, and provides a hardware interconnection plane based on the hardware forwarding plane.
  • the technology and scheme for dynamically and flexibly scheduling user traffic in the pooled forwarding plane is a trend. After decoupling between forwarding and control, the control plane can manage multiple forwarding planes and perform flexible scheduling of users, traffic, and resources between multiple forwarding planes. Both utilization and reliability can be greatly improved.
  • the main purpose of the present disclosure is to decouple the BNG forwarding and control, the forwarding plane adopts the traditional hardware form, and the control plane adopts the X
  • FIG. 9 is a block diagram showing an exemplary structure of a traffic scheduling apparatus according to an embodiment.
  • the traffic scheduling apparatus provided in this embodiment will be described below with reference to FIG.
  • the traffic scheduling apparatus 10 includes:
  • the broadband utilization receiving module 11 is configured to receive the broadband utilization rate of the broadband access device reported by the broadband access device, and the identity acquisition module 12 is configured to acquire the standby broadband access when the broadband utilization exceeds a preset value.
  • the identity of the device; the automatic switching module 13 is configured to automatically switch the terminal device accessing the broadband access device to access from the backup broadband access device corresponding to the identity identifier.
  • the broadband access device has multiple broadband access ports
  • the automatic switching module 13 includes: a switching unit configured to access the broadband access device through one of the plurality of broadband access ports The terminal device is automatically switched to access from the backup broadband access device corresponding to the identity identifier; the broadband utilization receiving unit is configured to receive the broadband utilization rate of the broadband access device reported by the broadband access device; the loop unit is set to each The terminal device accesses the broadband access device through one of the plurality of broadband access ports, and the terminal device automatically switches to access the secondary broadband access device corresponding to the identity identifier until the detected broadband utilization rate is not exceeded.
  • the preset value stops automatic switching.
  • the broadband access port includes, but is not limited to, a 100M port, a Gigabit port, or a 10 Gigabit port, and the like.
  • the automatic switching module is further configured to: send an instruction to the standby broadband access device to instruct the standby broadband access device to send a backup broadband to one or more terminal devices accessing the standby broadband access device The IP address assigned by the access device to each terminal device accessing the standby broadband access device.
  • the automatic switching module includes:
  • the switching unit is configured to automatically switch the broadband access port of one of the terminal devices accessed in the broadband access device to access from the standby broadband access device corresponding to the identity identifier; the broadband utilization receiving unit is set to Receiving a broadband utilization rate of the broadband access device reported by the broadband access device; and a looping unit configured to automatically switch the broadband access port of one of the terminal devices accessed in the broadband access device to the The standby broadband access device corresponding to the identity identifier is accessed.
  • the broadband utilization exceeds the preset value, the step is cycled until it is detected that the bandwidth utilization does not exceed the preset value.
  • the scheduling device of the terminal device further includes:
  • a list update module configured to update the stored first set and the second set, wherein the first set stores identification information of a terminal device that accesses the broadband access device, and the second set stores access to the backup broadband Identification information of the terminal device of the access device;
  • the message sending module is configured to send, to the standby broadband access device, a message that the scheduled terminal device is online.
  • the meanings of "first" and “second” in the first set and the second set are only to distinguish the two lists, and are not used to define which set has higher priority or other. Limited meaning.
  • the plurality of modules included in the traffic scheduling device may be implemented in whole or in part by software, hardware, or a combination thereof.
  • the plurality of modules in the traffic scheduling device may be program segments configured to implement corresponding functions.
  • a server in one embodiment, includes a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor executing the program to implement the flow scheduling method.
  • FIG. 10 is a schematic diagram of an internal structure of a server provided by an embodiment.
  • This server can be a server.
  • the server includes a processor connected through a system bus, a non-volatile storage medium, an internal memory, an input device, and a network interface.
  • the non-volatile storage medium of the server can store an operating system and computer readable instructions that, when executed, can cause the processor to perform a flow scheduling provided by any of the embodiments of the present disclosure
  • the server's processor is set up to provide computing and control capabilities to support the operation of the entire server.
  • the memory can store computer readable instructions that, when executed by the processor, cause the processor to perform a flow scheduling method.
  • the server's input device is used for input of one or more parameters, and the server's network interface is set to perform network communication. It will be understood by those skilled in the art that the structure shown in FIG. 10 is only a block diagram of a partial structure related to the solution of the present disclosure, and does not constitute a limitation on the server to which the present disclosure is applied, and the server may include FIG. More or fewer components are shown, or some components are combined, or have different component arrangements.
  • Another embodiment of the present disclosure provides a storage medium storing a computer program that implements the above-described traffic scheduling method when executed by a processor.
  • Any reference to a memory, storage, database or other medium as used herein may include non-volatile and/or volatile memory.
  • Suitable non-volatile memories may include Read-Only Memory (ROM), Programmable Read-Only Memory (PROM), Electrically Programmable ROM (EPROM), and electrically erasable Programming ROM (Erasable Programmable Read-Only Memory, EEPROM) or flash memory.
  • Volatile memory can include random access memory (RAM), and volatile memory is used as external cache.
  • RAM is available in a variety of forms, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), dual Data rate SDRAM (Double Data Rate SDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Memory Bus Direct RAM (RDRAM), Direct Memory Bus dynamic RAM (Direct Rambus DRAM, DRDRAM) and memory bus dynamic RAM (Rambus DRAM, RDRAM).
  • SRAM Static Random Access Memory
  • DRAM Dynamic Random Access Memory
  • SDRAM Synchronous Dynamic Random Access Memory
  • SDRAM Synchronous Dynamic Random Access Memory
  • SDRAM dual Data rate SDRAM (Double Data Rate SDRAM)
  • ESDRAM Enhanced Synchronous DRAM
  • SLDRAM Synchronous Link DRAM
  • RDRAM Memory Bus Direct RAM
  • Direct Memory Bus dynamic RAM Direct Rambus DRAM, DRDRAM
  • memory bus dynamic RAM Rabus DRAM, RDRAM
  • the multiple terminal devices accessing the broadband access device are automatically switched to correspond to the identity identifier.
  • the access of the broadband access device is enabled, so that when the load of the broadband access device is too large, the automatic identification and automatic switching can be performed to implement the traffic distribution monitoring of the terminal device, and the broadband access device is improved. Utilization, on the other hand, can avoid network anomalies and improve user network quality.
  • all or part of the processes in the foregoing embodiment may be completed by a computer program to instruct related hardware, and the program may be stored in a computer readable storage medium, as in the embodiment of the present disclosure.
  • the program can be stored in a storage medium of a computer system and executed by at least one processor in the computer system to implement a process comprising an embodiment of any of the methods described above.
  • the storage medium includes, but is not limited to, a magnetic disk, a USB flash drive, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

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

Abstract

一种调度方法、装置、服务器及存储介质。该流量调度方法包括:接收宽带接入设备上报的该宽带接入设备的宽带利用率;当该宽带利用率超过预设值时,获取备用宽带接入设备的身份标识;将接入该宽带接入设备的终端设备调度为从该身份标识对应的备用宽带接入设备进行接入。

Description

流量调度方法、装置、服务器及存储介质
本公开要求在2017年8月30日提交中国专利局、申请号为201710760648.2的中国专利申请的优先权,该申请的全部内容通过引用结合在本公开中。
技术领域
本公开涉及数据通信技术领域,例如一种流量调度方法、装置、服务器及存储介质。
背景技术
随着软件定义网络(Software Defined Network,SDN)技术和网络功能虚拟化(Network Function Virtualization,NFV)技术的发展,传统的网元设备从专业化朝着通用化演进。传统网元设备从专业化朝着通用化演进主要要解决两个解耦:控制与转发的解耦以及软件与硬件的解耦。
宽带网络网关(Broadband Network Gateway,BNG)作为传统的宽带接入网关设备,在用户宽带接入业务和场景中非常重要。对BNG设备在用户接入上的主要要求是用户认证、接入控制以及流量调度等。随着多种互联网业务的层出不穷,对BNG设备支持的用户的会话数要求不断提高、对用户接入带宽的要求不断提高、以及对BNG设备对外提供业务开放和可编程的能力的要求越来越高。通常会有多个终端设备接入BNG,但是在接入BNG的终端设备过多时,可能会导致BNG设备的上行流量达到上限,进而导致用户无法通过终端设备进行上网等问题。
发明内容
本公开实施例提供一种流量调度方法、装置、服务器及存储介质,可以在宽带接入设备负荷过大时,自行调度,避免网络异常情况的发生,提高用户的网络质量。
本公开提供一种流量调度方法,该方法包括:
接收宽带接入设备上报的该宽带接入设备的宽带利用率;
当该宽带利用率超过预设值时,获取备用宽带接入设备的身份标识;
将接入该宽带接入设备的终端设备调度为从该身份标识对应的备用宽带接 入设备进行接入。
本公开还提供一种流量调度装置,该装置包括:
宽带利用率接收模块,设置为接收宽带接入设备上报的该宽带接入设备的宽带利用率;
身份标识获取模块,设置为当该宽带利用率超过预设值时,获取备用宽带接入设备的身份标识;
自动切换模块,设置为将接入该宽带接入设备的终端设备调度为从该身份标识对应的备用宽带接入设备进行接入。
本公开还提供一种服务器,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,该处理器执行该计算机程序时实现上述流量调度方法。
本公开还提供一种存储介质,该存储介质存储有计算机程序,该计算机程序被处理器执行时实现上述流量调度方法。
附图说明
图1为一个实施例提供的流量调度方法的流程图;
图2为另一实施例提供的流量调度方法的流程图;
图3为另一实施例提供的流量调度方法的流程图;
图4为一实施例提供的流量调度方法的使用环境示意图;
图5为一个实施例提供的一个使用场景中流量调度方法的流程图;
图6为一个实施例提供的时序图;
图7为另一实施例提供的流量调度方法的使用环境示意图;
图8为另一实施例提供的一个使用场景中流量调度方法的流程图;
图9为一个实施例提供的流量调度装置的示范性结构框图;
图10为一个实施例提供的服务器的内部结构示意图。
具体实施方式
以下结合附图及实施例,对本公开进行说明。应当理解,此处所描述的实施例仅仅用以解释本公开,并不用于限定本公开。
图1为一个实施例提供的流量调度方法的流程图。下面结合图1来描述本实施例提供的流量调度方法。该方法应用于控制面的服务器,适用于上行链路。 如图1所示,该方法包括以下步骤。
步骤1010、接收宽带接入设备上报的该宽带接入设备的宽带利用率。
在一个实施例中,该宽带利用率为宽带接入设备或备用宽带接入设备自身检测到的数据,以表示该宽带接入设备或备用宽带接入设备自身的负荷状态。宽带利用率可以是宽带接入设备上报的一个百分比的数值,也可以是0~1之间的数值。
在一个实施例中,宽带接入设备可以是宽带网络网关中的端口(例如,宽带网络网关-用户面(Broadband Network Gateway-User Plane,BNG-U)),也可以是虚拟宽带网络网关的端口(例如,虚拟宽带网络网关-用户面(Virtual Broadband Network Gateway-User Plane,vBNG-U))。
步骤1020、当该宽带利用率超过预设值时,获取备用宽带接入设备的身份标识。
在一个实施例中,该宽带利用率的预设值可以由程序员预先设置。在一个实施例中,可以根据对应的宽带接入设备的不同性能设置不同大小的预设值,例如可以设置预设值为80%,也可以设置预设值为90%。
在本实施例中,该备用宽带接入设备与上述的宽带接入设备可以互为主备,即也可以把该备用宽带接入设备当做宽带接入设备来使用,也可以把该宽带接入设备当做备用宽带接入设备来使用,如果将宽带接入设备定义为第一宽带接入设备,将备用宽带接入设备定义为第二宽带接入设备,则也可以将该宽带接入设备看作是第二宽带接入设备,将该备用宽带接入设备看作是第一宽带接入设备。
在一个实施例中,该备用宽带接入设备的身份标识可以是该备用宽带接入设备的设备名称,还可以是预先给该备用宽带接入设备设置的编号或者是其它能够表示该备用宽带接入设备唯一性的标识。
步骤1030、将接入该宽带接入设备的终端设备自动切换为从该身份标识对应的备用宽带接入设备进行接入。
在一个实施例中,在该步骤1030之后还包括:向所述备用宽带接入设备发送指令以指示该备用宽带接入设备向该终端设备发送为每个终端设备分配的网络之间互连的协议(Internet Protocol,IP)地址。在该实施例中,指示该备用宽带接入设备向该终端设备发送为每个终端设备分配的IP地址的触发条件是在收到终端设备发送的请求IP地址的广播消息时指示,即在收到终端设备发送的请 求IP地址的广播消息时,向所述备用宽带接入设备发送指令以指示该备用宽带接入设备向该终端设备发送为每个终端设备分配的IP地址。
在一个实施例中,终端设备并不直接向服务器端发送广播消息,而是向所有与该终端设备通信连接的宽带接入设备及备用宽带接入设备发送请求IP地址的请求消息,由当前接入该终端设备的宽带接入设备将该请求消息发送给本端控制面的服务器。
在一个实施例中,宽带接入设备具有多个宽带接入端口,将接入宽带接入设备的终端设备自动切换为从身份标识对应的备用宽带接入设备进行接入包括:每次将通过多个宽带接入端口中的一个宽带接入端口接入宽带接入设备的终端设备调度为从身份标识对应的备用宽带接入设备进行接入,直至检测到宽带利用率未超过预设值,停止自动切换。由此,实现在宽带接入设备的宽带利用率超过预设值情况下,循环将该宽带接入设备中的一个宽带接入端口接入的终端设备切换为从身份标识对应的备用宽带接入设备进行接入,直至检测到宽带利用率超过预设值。
在一个实施例中,上述的宽带接入端口可以是千兆端口,也可以是万兆端口。千兆端口对应的千兆位以太网相对于原有的快速以太网提供了一条最佳的路径,是改善交换机与交换机之间骨干连接和交换机与服务器之间连接的可靠且经济的途径,网络设计人员能够建立有效使用高速、关键任务的应用程序和文件备份的高速基础设施,网络管理人员将为用户提供对互联网(Internet)、内联网(Intranet)、城域网与广域网的更快速的访问。万兆设备具有更高的带宽(10G)和更远的传输距离(最长传输距离可达40公里),大幅度提升了服务质量(Quality of Service,QoS),在企业网中采用万兆以太网可以很好地连接企业网骨干路由器,这样大大简化了网络拓扑结构,提高网络性能。能更好的满足网络安全、服务质量以及链路保护等多个方面需求。
本实施例通过监控宽带接入设备的宽带利用率,当宽带接入设备的宽带利用率超过预设值时,自动将该宽带接入设备中接入的终端设备切换为从该身份标识对应的备用宽带接入设备进行接入,使得当宽带接入设备的负荷过大时,可以自动识别并自动切换,以实现对终端设备产生的流量进行分流监控,可以避免网络异常情况的发生,提高用户的网络质量。
图2为另一实施例提供的流量调度方法的流程图。下面结合图2来描述本实施例提供的流量调度方法。该方法在包括上述步骤1010和步骤1020的基础 上,上述步骤1030包括:每次将所述宽带接入设备中接入的其中一个终端设备的宽带接入端口自动切换为从所述身份标识对应的备用宽带接入设备进行接入,当所述宽带利用率超过所述预设值时,循环本步骤,直至检测到所述宽带利用率未超过所述预设值。
在一个实施例中,如图2所示,步骤103包括以下步骤。
步骤2010、将该宽带接入设备中接入的其中一个终端设备的宽带接入端口自动切换为从该身份标识对应的备用宽带接入设备进行接入,进入步骤2020。
步骤2020、判断宽带利用率是否超过预设值,如果超过,则跳转至步骤2010,如果未超过,则跳转至步骤2030。
步骤2030、结束。
本实施例通过在上述宽带接入设备的宽带利用率超过预设值的情况下,将宽带接入设备中接入的终端设备一个一个地切换至备用宽带接入设备,直到上述宽带接入设备的宽带利用率在预设的范围之内,可以提高流量调度的精确性和和适度,避免一次将过多的终端设备的宽带接入端口切换至从备用宽带接入设备接入,致使备用宽带接入设备的负载过高,有需要重新进行调度带来的不必要的操作。
图3为另一实施例提供的流量调度方法的流程图。如图3所示,该方法在包括上述步骤1010、步骤1020及步骤1030的基础上还包括以下步骤。
步骤3010、更新存储的第一集合及第二集合,其中,该第一集合存储有接入该宽带接入设备的终端设备的标识信息,该第二集合存储有接入该备用宽带接入设备的终端设备的标识信息。
在一个实施例中,存储在本端控制面的服务器的列表并不限于上述的第一集合和第二集合,本端存储的列表与控制的宽带接入设备的个数一一对应,当本端控制面的服务器控制的宽带接入设备有多个时,存储有对应宽带接入设备接入的终端设备的标识信息的集合也可以为多个。在一实施例中,上述的第一集合及第二集合中的“集合”包括但不限于列表、数组或队列等等。
步骤3020、向该备用宽带接入设备发送该终端设备已上线的消息。
在一个实施例中,上述的终端设备的标识信息可以是该终端设备的国际移动设备身份码(International Mobile Equipment Identity,IMEI)或者该终端设备所使用的手机号码等等,备用宽带接入设备在收到该终端设备已上线的消息时,更新存储在该备用宽带接入设备中的用户上线列表。
在其它实施例中,该方法还可以包括:向该宽带接入设备发送该终端设备已在其它宽带接入设备上上线的消息,该宽带接入设备在收到该终端设备已在其它宽带接入设备上上线的消息时,更新存储在该宽带接入设备中的用户上线列表,将对应的终端设备在该列表中删除。
本实施例通过对存储在本端服务器中的列表进行同步地更新,有利于更好的对多个备用宽带接入设备及宽带接入设备进行管理和调配。
图4为一个实施例提供的流量调度方法的使用环境示意图。如图4所示,在流量调度方法的使用环境中,包含的网元和网络模块有用户设备、BNG/vBNG-C(BNG/vBNG控制面(Control Plane))模块、BNG/vBNG-U(BNG/vBNG用户面(User Plane))模块、核心路由器(Core Router,CR)模块、验证、授权和记账(Authentication、Authorization、Accounting,AAA)模块以及接入网络,还包括控制面封装/解封装模块以及资源调度策略模块。
其中,AAA模块是一个能够处理用户访问请求的服务器程序,提供验证、授权以及帐户服务的服务器。
所述用户设备包括但不限于住宅网关(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)等等。
BNG/vBNG-C模块包含BNG的控制面和vBNG的控制面,主要是进行宽带用户接入的协议协商、用户认证、接入控制以及用户管理等,还包括BNG/vBNG的前池(Forward pool)。BNG/vBNG-U模块包含BNG的转发面和vBNG的转发面,主要负责用户流量的转发和控制,负责对用户相关的的执行。
图5为一个实施例提供的一个使用场景中流量调度方法的流程图。本实施例提供的一种用户流量资源灵活调度的处理方案包括以下步骤。
步骤5010,BNG/vBNG-U实时监控与CR互联链路状态,并向BNG/vBNG-C上报与CR互联链路的宽带利用率。BNG/vBNG-U转发池形成备份关系,用户表项由BNG/vBNG-C控制面统一下发到互为主备关系的BNG/vBNG-U,主用BNG/vBNG-U和备用BNG/vBNG-U用户接入端口的用户表项实时同步。BNG/vBNG-U将自身与CR互联链路的宽带资源消耗情况统计实时上报给BNG/vBNG-C。
步骤5020,BNG/vBNG-C流量资源策略模块根据设置的宽带利用率阈值高值Pmax和阈值低值Pmin调度BNG/vBNG-U接入用户。BNG/vBNG-C根据预先设置的宽带利用率阈值(Pmax和Pmin)策略来进行BNG/vBNG-U的接入端口主备状态切换。
步骤5030,当BNG/vBNG-U与CR互联链路的宽带利用率达到Pmax值时,BNG/vBNG-C流量资源策略模块将对应BNG/vBNG-U端口接入的用户调度至其他宽带资源充足的备份BNG/vBNG-U。Pmax为阈值高值,当BNG/vBNG-U与CR互联链路的宽带利用率超过Pmax值时,BNG/vBNG-C向对应BNG/vBNG-U执行用户流量调度策略,将对应BNG/vBNG-U部分用户接入端口设置为备用,将用户调度至链路宽带资源充足的备用BNG/vBNG-U端口进行接入。
步骤5040,当BNG/vBNG-U与CR互联链路的宽带利用率降低到Pmin值时,BNG/vBNG-C流量资源策略模块将取消对应BNG/vBNG-U端口接入的用户调度。当对应执行用户流量调度策略的BNG/vBNG-U与CR互联链路的宽带利用率低于Pmin值时,BNG/vBNG-C撤销对应BNG/vBNG-U的用户流量调度策略。
图6为一个实施例提供的时序图。下面结合图6描述多个细化的步骤:
上述步骤5010包括:BNG/vBNG-U将自身与CR互联链路的宽带利用率情况统计上报给BNG/vBNG-C。
上述步骤5020包括:BNG/vBNG-C预先设置的链路宽带利用率阈值(Pmax和Pmin),对超过Pmax值的BNG/vBNG-U-1执行调度策略,将BNG/vBNG-U-1的部分主用端口置为备用,撤销BNG/vBNG-U-1对应接入端口的用户路由,将对应BNG/vBNG-U-2的备份端口置为主用,发布对应接入端口的用户路由,用户流量切换至BNG/vBNG-U-2。
上述步骤5030包括以下步骤。
步骤一、BNG/vBNG-U上送控制报文的隧道为可扩展虚拟局域网(Virtual Extensible LAN,VxLAN)隧道。在BNG/vBNG-U需要进行隧道的封装。
步骤二、BNG/vBNG-C通过VxLan隧道收到从BNG/vBNG-U-1以及BNG/vBNG-U-2发送过来的控制报文,解封装。
步骤三、BNG/vBNG-C根据流量策略调度模块内的策略,只回应BNG/vBNG-U-2上切换为主用端口发送过来的控制报文。
步骤四、BNG/vBNG-C通过开放流(openflow)向BNG/vBNG-U-2主用端口下发用户表项,接入后续的用户。
上述步骤5040包括以下步骤。
(1)BNG/vBNG-C收到BNG/vBNG-U-1与CR互联端口带宽利用率统计。
(2)当利用率低于阈值Pmin值时,BNG/vBNG-C取消对BNG/vBNG-U-1的调度策略,将BNG/vBNG-U-1部分端口恢复为主用。
(3)BNG/vBNG-U-1的接入用户继续从本地进行接入。
本实施例的使用场景实现了BNG/vBNG转发面用户流量的灵活调度,当转发面与CR互联链路发生故障或转发面之间用户接入严重不均时,可以确保转发面上联CR的链路不会产生拥塞,保证业务的可靠性。本技术方案的优势是自适应,对周边网络没有额外的要求;本实施例提供的技术方案实现了转发池之间的用户流量灵活调度,提高了设备资源的利用率。
图7为另一实施例提供的流量调度方法的使用环境示意图。在图7中,首先定义S的具体实施例S1和S2,S1和S2为转发面池化热备场景:其中调度组模块S1包括了两个转发面设备,分别为BNG/vBNG-U-1和BNG/vBNG-U-2,语法表达为S1(BNG/vBNG-U-1&P1、BNG/vBNG-U-1&P2),P1和P2分别为用户接入端口;其中调度组模块S2包括了两个转发面设备,分别为BNG/vBNG-U-2和BNG/vBNG-U-3,语法表达为S2(BNG/vBNG-U-2&P3、BNG/vBNG-U-3&P4);L1~L6为转发面与CR互联的上行网络侧接口,转发面需要将L1~L6的端口状态以及宽带利用率实时上报给控制面。
在一实施例中,当BNG/vBNG-C控制面收到BNG/vBNG-U-1 L1端口故障、L2端口故障或宽带利用率超过阈值高值Pmax时,判断BNG/vBNG-U-2上行L3和L4端口的宽带利用率情况,如果L3和L4的宽带利用率足够,将进行备份转发面之间用户流量调度,也就是执行S1调度组策略,将BNG/vBNG-U-1 P1端口置为备用,撤销P1端口接入用户的路由,将BNG/vBNG-U-2 P2端口置为主用,发布P2端口接入用户的路由,用户流量切换至P2端口。其中,P1和P2端口用户接入路由一致,均为BNG/vBNG-C控制面下发的网段路由。
在一实施例中,当BNG/vBNG-C控制面收到BNG/vBNG-U-2 L3端口故障、L4端口故障或宽带利用率超过阈值高值Pmax时,判断BNG/vBNG-U-3上行L5和L6的带宽利用率情况,如果L5和L6的宽带利用率足够,将进行备份转发面之间用户流量调度,也就是执行S2调度组策略,将BNG/vBNG-U-2 P3端口置 为备用,将BNG/vBNG-U-3 P4端口置为主用,用户流量切换至P4端口。
在一实施例中,S1和S2跨转发面实现用户流量调度,BNG/vBNG-U-1的P1端口相关VLAN-标识(Identity,ID)、端口ID、设备ID需要与BNG/vBNG-U-2P2端口保持一致,P1端口和P2端口可以设置逻辑端口ID和逻辑设备ID,用于用户信息精确绑定;BNG/vBNG-U-2的P3端口相关VLAN-ID、端口ID和设备ID需要与BNG/vBNG-U-3 P4端口保持一致,P3端口和P4端口可以设置逻辑端口ID和逻辑设备ID,用于用户信息精确绑定。
图8为另一实施例提供的一使用场景中流量调度方法的流程图。如图8所示,本实施例的使用场景包括以下步骤。
步骤8010、BNG/vBNG-C控制面针对BNG/vBNG-U转发面设置宽带利用率阈值。BNG/vBNG-C控制面针对不同的BNG/vBNG-U转发面设置相应的上联CR链路宽带利用率阈值,可以制定差异化的阈值策略。
步骤8020、BNG/vBNG-U转发面实时向控制面上报自身与CR互联链路的宽带利用率统计。
步骤8030、用户接入不均或链路故障,使某BNG/vBNG-U转发面与CR互联链路宽带利用率超出控制面设置的宽带利用率阈值。例如,大量用户拨号接入或与CR互联的链路发生故障,使某BNG/vBNG-U转发面上行链路端口的宽带利用率超出控制面设置阈值。
步骤8040、BNG/vBNG-C控制面针对该BNG/vBNG-U生成调度组策略。
步骤8050、该BNG/vBNG-U部分端口后续接入用户调度至池内其他备份转发面进行接入。该BNG/vBNG-U部分端口转为备用,撤销对应用户路由,后续接入用户调度至池内其他转发面进行接入,发布对应用户路由。
BNG转发与控制的解耦是一种趋势,转发与控制解耦后,控制面可以管理多个转发面,进行多个转发面之间用户、流量以及资源的灵活调度,和单机相比设备的利用率和可靠性都能得到大幅的提升。本公开主要的目的是在BNG转发与控制解耦后,转发面采用传统硬件形态,控制面采用X86通用服务器,保持城域网架构不变的基础上,提供一种根据硬件转发面与CR互联链路宽带利用率在池化转发面中进行用户流量动态灵活调度的技术和方案。
图9为一个实施例提供的流量调度装置的示范性结构框图。下面结合图9来描述本实施例提供的流量调度装置。如图9所示,该流量调度装置10包括:
宽带利用率接收模块11,设置为接收宽带接入设备上报的该宽带接入设备 的宽带利用率;身份标识获取模12,设置为当该宽带利用率超过预设值时,获取备用宽带接入设备的身份标识;自动切换模块13,设置为将接入该宽带接入设备的终端设备自动切换为从该身份标识对应的备用宽带接入设备进行接入。
在一实施例中,宽带接入设备具有多个宽带接入端口,自动切换模块13包括:切换单元,设置为将通过多个宽带接入端口中的一个宽带接入端口接入宽带接入设备的终端设备自动切换为从身份标识对应的备用宽带接入设备进行接入;宽带利用率接收单元,设置为接收宽带接入设备上报的宽带接入设备的宽带利用率;循环单元,设置为每次将通过多个宽带接入端口中的一个宽带接入端口接入宽带接入设备中终端设备自动切换为从身份标识对应的备用宽带接入设备进行接入,直至检测到宽带利用率未超过预设值,停止自动切换。
在一实施例中,该宽带接入端口包括但不限于百兆端口、千兆端口或万兆端口等等。
在一个实施例中,该自动切换模块还设置为:向所述备用宽带接入设备发送指令以指示该备用宽带接入设备向接入备用宽带接入设备的一个或多个终端设备发送备用宽带接入设备为接入备用宽带接入设备的每个终端设备分配的IP地址。
在一个实施例中,该自动切换模块包括:
切换单元,设置为将该宽带接入设备中接入的其中一个终端设备的宽带接入端口自动切换为从该身份标识对应的备用宽带接入设备进行接入;宽带利用率接收单元,设置为接收宽带接入设备上报的该宽带接入设备的宽带利用率;循环单元,设置为每次将所述宽带接入设备中接入的其中一个终端设备的宽带接入端口自动切换为从所述身份标识对应的备用宽带接入设备进行接入,当所述宽带利用率超过所述预设值时,循环本步骤,直至检测到所述宽带利用率未超过所述预设值。
在一个实施例中,该终端设备的调度装置还包括:
列表更新模块,设置为更新存储的第一集合及第二集合,其中,该第一集合存储有接入该宽带接入设备的终端设备的标识信息,该第二集合存储有接入该备用宽带接入设备的终端设备的标识信息;
消息发送模块,设置为向该备用宽带接入设备发送被调度的终端设备已上线的消息。
在一实施例中,上述第一集合及第二集合中的“第一”和“第二”的意义 仅在于将两个列表加以区分,并不用于限定哪个集合的优先级更高或者其它的限定意义。
在一实施例中,该流量调度装置中包括的多个模块可全部或部分通过软件、硬件或其组合来实现。在一实施例中,该流量调度装置中的多个模块可以是设置为实现对应功能的程序段。
在一个实施例中,提供的一种服务器,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,该处理器执行该程序时实现上述流量调度方法。
图10为一个实施例提供的服务器的内部结构示意图。该服务器可以为服务器。参照图10,该服务器包括通过系统总线连接的处理器、非易失性存储介质、内存储器、输入装置和网络接口。在一实施例中,该服务器的非易失性存储介质可存储操作系统和计算机可读指令,该计算机可读指令被执行时,可使得处理器执行本公开任意实施例提供的一种流量调度方法,该方法的实现过程可参考图1至8实施例的内容,在此不再赘述。该服务器的处理器设置为提供计算和控制能力,支撑整个服务器的运行。该存储器中可储存有计算机可读指令,该计算机可读指令被处理器执行时,可使得处理器执行一种流量调度方法。服务器的输入装置用于一个或多个参数的输入,服务器的网络接口设置为进行网络通信。本领域技术人员可以理解,图10中示出的结构,仅仅是与本公开方案相关的部分结构的框图,并不构成对本公开方案所应用于其上的服务器的限定,服务器可以包括比图10中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
本公开另一实施例提供一种存储介质,该存储介质存储有计算机程序,该计算机程序被处理器执行时实现上述流量调度方法。
如此处所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。合适的非易失性存储器可包括只读存储器只读存储器(Read-Only Memory,ROM)、可编程ROM(Programmable Read-Only Memory,PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(Erasable Programmable Read-Only Memory,EEPROM)或闪存。易失性存储器可包括随机存取存储器(Random Access Memory,RAM),易失性存储器用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(Static Random Access Memory,SRAM)、动态RAM(Dynamic Random Access Memory, DRAM)、同步DRAM(Synchronous Dynamic Random Access Memory,SDRAM)、双数据率SDRAM(Double Data Rate SDRAM,DDR SDRAM)、增强型SDRAM(Enhanced Synchronous DRAM,ESDRAM)、同步链路DRAM(Synch link DRAM,SLDRAM)、存储器总线直接RAM(Rambus Direct RAM,RDRAM)、直接存储器总线动态RAM(Direct Rambus DRAM,DRDRAM)以及存储器总线动态RAM(Rambus DRAM,RDRAM)。
本实施例通过监控宽带接入设备的宽带利用率,当宽带接入设备的宽带利用率超过预设值时,自动将接入该宽带接入设备的多个终端设备切换为从该身份标识对应的备用宽带接入设备进行接入,使得当宽带接入设备的负荷过大时,可以自动识别并自动切换,以实现对终端设备产生的流量进行分流监控,一方面提高了宽带接入设备的利用率,另一方面还可以避免网络异常情况的发生,提高用户的网络质量。
在一实施例中,上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,所述程序可存储于一计算机可读取存储介质中,如本公开实施例中,该程序可存储于计算机系统的存储介质中,并被该计算机系统中的至少一个处理器执行,以实现包括如上述任意方法的实施例的流程。该存储介质包括但不限于磁碟、优盘、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所述实施例仅表达了本公开的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对公开范围的限制。

Claims (10)

  1. 一种流量调度方法,包括:
    接收宽带接入设备上报的所述宽带接入设备的宽带利用率;
    当所述宽带利用率超过预设值时,获取备用宽带接入设备的身份标识;
    将接入所述宽带接入设备的终端设备调度为从所述身份标识对应的备用宽带接入设备进行接入。
  2. 根据权利要求1所述的方法,其中,在所述将接入所述宽带接入设备的终端设备调度为从所述身份标识对应的备用宽带接入设备进行接入之后,还包括:向所述备用宽带接入设备发送指令以指示所述备用宽带接入设备向接入所述备用宽带接入设备的一个或多个终端设备发送所述备用宽带接入设备为接入所述备用宽带接入的每个终端设备分配的网络之间互连的协议IP地址。
  3. 根据权利要求1或2所述的方法,其中,所述宽带接入设备具有多个宽带接入端口,所述将接入所述宽带接入设备的终端设备调度为从所述身份标识对应的备用宽带接入设备进行接入包括:
    每次将通过所述多个宽带接入端口中的一个宽带接入端口接入所述宽带接入设备的终端设备调度为从所述身份标识对应的备用宽带接入设备进行接入,直至检测到所述宽带利用率未超过所述预设值,停止所述调度。
  4. 根据权利要求3所述的方法,其中,在所述将接入所述宽带接入设备的终端设备调度为从所述身份标识对应的备用宽带接入设备进行接入之后,还包括:
    更新存储的第一集合及第二集合,其中,所述第一集合存储有接入所述宽带接入设备的终端设备的标识信息,所述第二集合存储有接入所述备用宽带接入设备的终端设备的标识信息;
    向所述备用宽带接入设备发送被调度的所述终端设备已上线的消息。
  5. 根据权利要求3或4所述的方法,其中,所述宽带接入端口包括千兆端口或万兆端口。
  6. 一种流量调度装置,包括:
    宽带利用率接收模块,设置为接收宽带接入设备上报的所述宽带接入设备的宽带利用率;
    身份标识获取模块,设置为当所述宽带利用率超过预设值时,获取备用宽带接入设备的身份标识;
    自动切换模块,设置为将接入所述宽带接入设备的终端设备调度为从所述 身份标识对应的备用宽带接入设备进行接入。
  7. 根据权利要求6所述的装置,其中,所述自动切换模块还设置为:向所述备用宽带接入设备发送指令以指示所述备用宽带接入设备向接入所述备用宽带接入设备的一个或多个终端设备发送所述备用宽带接入设备为接入所述备用宽带接入设备的每个终端设备分配的网络之间互连的协议IP地址。
  8. 根据权利要求6或7所述的装置,其中,所述宽带接入设备具有多个宽带接入端口,所述自动切换模块包括:
    切换单元,设置为将通过所述多个宽带接入端口中的一个宽带接入端口接入所述宽带接入设备的终端设备调度为从所述身份标识对应的备用宽带接入设备进行接入。
    宽带利用率接收单元,设置为接收所述宽带接入设备上报的所述宽带接入设备的宽带利用率;
    循环单元,设置为每次将通过所述多个宽带接入端口中的一个宽带接入端口接入所述宽带接入设备中终端设备调度为从所述身份标识对应的备用宽带接入设备进行接入,直至检测到所述宽带利用率未超过所述预设值,停止所述调度。
  9. 一种服务器,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至5中任一项的流量调度方法。
  10. 一种存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项的流量调度方法。
PCT/CN2018/103356 2017-08-30 2018-08-30 流量调度方法、装置、服务器及存储介质 WO2019042379A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710760648.2A CN109428780B (zh) 2017-08-30 2017-08-30 一种流量监测的调度方法、装置、服务器及存储介质
CN201710760648.2 2017-08-30

Publications (1)

Publication Number Publication Date
WO2019042379A1 true WO2019042379A1 (zh) 2019-03-07

Family

ID=65502162

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/103356 WO2019042379A1 (zh) 2017-08-30 2018-08-30 流量调度方法、装置、服务器及存储介质

Country Status (2)

Country Link
CN (1) CN109428780B (zh)
WO (1) WO2019042379A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021083196A1 (zh) * 2019-10-28 2021-05-06 华为技术有限公司 网络流量的迁移方法及装置
EP4095691A4 (en) * 2020-02-29 2023-07-12 Huawei Technologies Co., Ltd. PROCEDURE FOR ERASING USER EQUIPMENT AND ASSOCIATED DEVICE

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111526153B (zh) * 2020-04-29 2023-03-07 高新兴科技集团股份有限公司 流媒体调度方法、计算机存储介质及电子设备
CN114079623B (zh) * 2020-08-04 2023-07-21 中国移动通信集团河北有限公司 用户侧路由器传输能力的识别方法及装置
CN114765572A (zh) * 2020-12-30 2022-07-19 华为技术有限公司 故障处理方法、控制面网元、切换决策网元及相关设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102420818A (zh) * 2011-11-28 2012-04-18 中国联合网络通信集团有限公司 网络访问控制方法、装置和系统
CN102420731A (zh) * 2011-11-28 2012-04-18 中国联合网络通信集团有限公司 网络访问控制方法和系统
CN104410582A (zh) * 2014-12-10 2015-03-11 国家电网公司 一种基于流量预测的电力通信网流量均衡方法
CN105991474A (zh) * 2015-05-18 2016-10-05 杭州迪普科技有限公司 一种流量调度方法、装置及网络设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100157800A1 (en) * 2008-12-19 2010-06-24 Inventec Corporation Method for processing network traffic loading balance
CN104735673A (zh) * 2013-12-19 2015-06-24 中兴通讯股份有限公司 捆绑链路的配置处理、配置方法及装置
CN104811393B (zh) * 2014-01-27 2019-02-26 中兴通讯股份有限公司 组播报文复制处理方法、装置及开放流控制器
CN106506457B (zh) * 2016-10-12 2019-11-26 中国联合网络通信集团有限公司 一种终端接入网络的方法及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102420818A (zh) * 2011-11-28 2012-04-18 中国联合网络通信集团有限公司 网络访问控制方法、装置和系统
CN102420731A (zh) * 2011-11-28 2012-04-18 中国联合网络通信集团有限公司 网络访问控制方法和系统
CN104410582A (zh) * 2014-12-10 2015-03-11 国家电网公司 一种基于流量预测的电力通信网流量均衡方法
CN105991474A (zh) * 2015-05-18 2016-10-05 杭州迪普科技有限公司 一种流量调度方法、装置及网络设备

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021083196A1 (zh) * 2019-10-28 2021-05-06 华为技术有限公司 网络流量的迁移方法及装置
EP4040731A4 (en) * 2019-10-28 2022-11-16 Huawei Technologies Co., Ltd. NETWORK TRAFFIC MIGRATION METHOD AND APPARATUS
US11811635B2 (en) 2019-10-28 2023-11-07 Huawei Technologies Co., Ltd. Network traffic migration method and apparatus
EP4095691A4 (en) * 2020-02-29 2023-07-12 Huawei Technologies Co., Ltd. PROCEDURE FOR ERASING USER EQUIPMENT AND ASSOCIATED DEVICE
US11856069B2 (en) 2020-02-29 2023-12-26 Huawei Technologies Co., Ltd. Method for deleting user equipment and related device

Also Published As

Publication number Publication date
CN109428780A (zh) 2019-03-05
CN109428780B (zh) 2022-05-06

Similar Documents

Publication Publication Date Title
US10798760B2 (en) Method for controlling network slice, forwarding device, control device, and communications system
WO2019042379A1 (zh) 流量调度方法、装置、服务器及存储介质
US20230006929A1 (en) Method and system of application-aware routing with crowdsourcing
US10003540B2 (en) Flow forwarding method, device, and system
US11616729B2 (en) Method and apparatus for processing low-latency service flow
WO2018228032A1 (zh) 一种服务质量的控制方法及相关装置
US9071529B2 (en) Method and apparatus for accelerating forwarding in software-defined networks
US7783733B1 (en) Method and apparatus for dynamic configuration management
US20140068045A1 (en) Network system and virtual node migration method
US10819659B2 (en) Direct replying actions in SDN switches
US20170085462A1 (en) Network Control Method and Apparatus
US8817799B2 (en) Network processor for supporting residential gateway applications
US20170238171A1 (en) Method, Apparatus, and System for Migrating Virtual Network Function Instance
WO2015066878A1 (zh) Sdn网络中的控制设备和控制方法
EP3588859B1 (en) Network device configuration versioning
US20220286409A1 (en) Method and apparatus for configuring quality of service policy for service, and computing device
US9912592B2 (en) Troubleshooting openflow networks
US20240097979A1 (en) Fabric availability and synchronization
Chen et al. Realization of 5g network slicing using open source softwares
WO2016065925A1 (zh) 控制器替换方法及装置
Khiat et al. SAQ-2HN: a novel SDN-based architecture for the management of quality of service in homogeneous and heterogeneous wireless networks
KR100778340B1 (ko) 라우터 시스템에서의 소프트웨어 업그레이드에 따른 포워딩정보 테이블 관리 장치 및 그 방법
WO2023057794A1 (en) Method for aligning quality of service in mobile network and edge cloud
US20220070736A1 (en) Traffic steering device
US20170155543A1 (en) Control apparatus, communication system, and control method

Legal Events

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

Ref document number: 18851674

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 8.09.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18851674

Country of ref document: EP

Kind code of ref document: A1