CN110365580B - Service quality scheduling method and device, electronic equipment and computer readable storage medium - Google Patents

Service quality scheduling method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN110365580B
CN110365580B CN201910687231.7A CN201910687231A CN110365580B CN 110365580 B CN110365580 B CN 110365580B CN 201910687231 A CN201910687231 A CN 201910687231A CN 110365580 B CN110365580 B CN 110365580B
Authority
CN
China
Prior art keywords
port
board
aggregation
scheduling
service quality
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201910687231.7A
Other languages
Chinese (zh)
Other versions
CN110365580A (en
Inventor
寇远芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Big Data Technologies Co Ltd
Original Assignee
New H3C Big Data Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Big Data Technologies Co Ltd filed Critical New H3C Big Data Technologies Co Ltd
Priority to CN201910687231.7A priority Critical patent/CN110365580B/en
Publication of CN110365580A publication Critical patent/CN110365580A/en
Application granted granted Critical
Publication of CN110365580B publication Critical patent/CN110365580B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • H04L45/245Link aggregation, e.g. trunking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/38Flow based routing
    • 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/12Avoiding congestion; Recovering from congestion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling

Abstract

The disclosure provides a service quality scheduling method, a service quality scheduling device, electronic equipment and a computer-readable storage medium, and relates to the technical field of communication. The service quality scheduling method is applied to a main control board which is in communication connection with a plurality of service interface boards, and the plurality of service interface boards comprise at least two target service interface boards where member ports forming an aggregation port are located. The method comprises the following steps: selecting one from at least two target service interface boards as an aggregation port service quality scheduling board, sending a queue mapping table entry and an aggregation routing table entry of an aggregation port to the aggregation port service quality scheduling board, so that the aggregation port service quality scheduling board inquires the queue mapping table entry to send the traffic of the target port as the aggregation port into a corresponding queue for service quality scheduling, and after the service quality scheduling is completed, inquiring the aggregation routing table entry to obtain a target member port for forwarding the traffic, and forwarding the traffic to the target member port. Thereby improving the reliability of quality of service scheduling.

Description

Service quality scheduling method and device, electronic equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for scheduling quality of service, an electronic device, and a computer-readable storage medium.
Background
In the process of forwarding the data flow, the main control board of the distributed equipment is responsible for configuring the table items such as the route and the like to each service interface board. Data flow enters from an interface of a certain service interface board, is forwarded by the service interface board based on a routing forwarding table entry and a switching network board, and flows out from an interface of a local board (the service interface board into which the data flow enters) or a cross board (the service interface board into which the non-data flow enters). Currently, the commonly used interfaces are ethernet interfaces, and the link bandwidth of one ethernet interface is of 100M, 1G, 10G, 100G, and the like. The purpose of increasing the link bandwidth can be achieved by bundling multiple ethernet physical links together to form one ethernet logical link, i.e. an aggregated link. Meanwhile, the bound links can be mutually dynamically backed up, so that the reliability of the links is effectively improved.
Although aggregation links can extend link bandwidth and improve link reliability, congestion is also a very common phenomenon in a complex Internet (Internet) packet switching environment. Congestion is a phenomenon in which the currently supplied resources are insufficient for the resources required for normal data traffic transfer processing, and the quality of service is degraded. Congestion may cause a number of negative effects. In order to improve congestion, aggregation link Quality of Service (QoS) scheduling is required, and research has found that the reliability of QoS scheduling of aggregation links needs to be improved nowadays.
Disclosure of Invention
In view of the above, the present disclosure provides a method and an apparatus for scheduling quality of service, an electronic device, and a computer-readable storage medium.
In one aspect, the present disclosure provides a method for scheduling quality of service, which is applied to a main control board, where the main control board is in communication connection with a plurality of service interface boards, and the plurality of service interface boards include at least two target service interface boards where member ports forming an aggregation port are located, where the method includes:
selecting one from the at least two target service interface boards as an aggregation port service quality scheduling board;
and issuing the queue mapping table entry and the aggregation routing table entry of the aggregation port to the service quality scheduling board of the aggregation port, so that the service quality scheduling board of the aggregation port inquires the queue mapping table entry, sends the traffic of which the target port is the aggregation port to a corresponding queue for service quality scheduling, inquires the aggregation routing table entry after the service quality scheduling is finished, obtains a target member port for forwarding the traffic, and forwards the traffic to the target member port.
In one implementation, the method further comprises:
after selecting the service quality scheduling board of the aggregation port, notifying each service interface board in communication connection with the main control board to refresh the route forwarding table entry, and taking the equipment number and the port number of the service quality scheduling board of the aggregation port as the equipment number and the port number corresponding to the aggregation port, so that after a source service interface board receiving the traffic of which the destination port is the aggregation port inquires the refreshed route forwarding table entry, the traffic is forwarded to the service quality scheduling board of the aggregation port.
In one implementation, the step of selecting one of the at least two target traffic interface boards as an aggregation interface qos scheduler includes:
and selecting one of the at least two target service interface boards with the most queue resources as an aggregation port service quality scheduling board.
In another aspect, the present disclosure provides a service quality scheduling apparatus, applied to a main control board, where the main control board is in communication connection with a plurality of service interface boards, where the plurality of service interface boards include at least two target service interface boards where member ports forming an aggregation port are located, the service quality scheduling apparatus includes:
a scheduling board selecting module, configured to select one of the at least two target service interface boards as an aggregation port service quality scheduling board;
and the table item issuing module is used for issuing the queue mapping table item and the aggregation routing table item of the aggregation port to the aggregation port service quality scheduling board, so that the aggregation port service quality scheduling board inquires the queue mapping table item to send the traffic of which the destination port is the aggregation port to a corresponding queue for service quality scheduling, and after the service quality scheduling is finished, inquires the aggregation routing table item to obtain a destination member port for forwarding the traffic, and forwards the traffic to the destination member port.
In another aspect, the present disclosure provides a method for scheduling quality of service, which is applied to a service interface board where member ports forming an aggregation port are located, where the service interface board is in communication connection with a main control board, and the method includes:
acquiring a queue mapping table entry and an aggregation routing table entry of the aggregation port issued by the main control board;
and inquiring the queue mapping table entry, sending the traffic of which the target port is the aggregation port into a corresponding queue for service quality scheduling, inquiring the aggregation routing table entry to obtain a corresponding target member port after the service quality scheduling is finished, and forwarding the traffic to the target member port.
In another aspect, the present disclosure provides a service quality scheduling apparatus, applied to a service interface board where member ports forming an aggregation port are located, where the service interface board is in communication connection with a main control board, the service quality scheduling apparatus includes:
the table entry obtaining module is used for obtaining the queue mapping table entry and the aggregation routing table entry of the aggregation port issued by the main control board;
and the flow forwarding module is used for inquiring the queue mapping table entry, sending the flow with the destination port as the aggregation port into a corresponding queue for service quality scheduling, inquiring the aggregation routing table entry to obtain a corresponding destination member port after the service quality scheduling is finished, and forwarding the flow to the destination member port.
In another aspect, the present disclosure provides a method for scheduling quality of service, which is applied to a service interface board where member ports forming an aggregation port are located, where the service interface board is in communication connection with a main control board, and the method includes:
obtaining a notice of refreshing a route forwarding table item issued by the main control board;
and taking the equipment number and the port number of the service quality scheduling board of the aggregation port as the equipment number and the port number corresponding to the aggregation port according to the notification, and inquiring the refreshed routing forwarding table entry and forwarding the traffic to the service quality scheduling board of the aggregation port for unified scheduling when the traffic with the destination port as the aggregation port is received.
In another aspect, the present disclosure provides a service quality scheduling apparatus, applied to a service interface board where member ports forming an aggregation port are located, where the service interface board is communicatively connected to a main control board, the apparatus includes:
a notification obtaining module, configured to obtain a notification for refreshing a route forwarding table item issued by the main control board;
and the traffic processing module is used for taking the equipment number and the port number of the service quality scheduling board of the aggregation port as the equipment number and the port number corresponding to the aggregation port according to the notification, inquiring the refreshed route forwarding table entry when the traffic with the destination port as the aggregation port is received, and forwarding the traffic to the service quality scheduling board of the aggregation port for unified scheduling.
In yet another aspect, the present disclosure provides an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the above-mentioned quality of service scheduling method.
In another aspect, the present disclosure provides a computer-readable storage medium, where the computer-readable storage medium includes a computer program, and the computer program controls an electronic device where the computer-readable storage medium is located to execute the foregoing method for scheduling quality of service.
According to the service quality scheduling method, the service quality scheduling device, the electronic equipment and the computer readable storage medium, the main control board selects one from at least two target service interface boards where member ports forming an aggregation port are located as an aggregation port service quality scheduling board, service quality scheduling of flow with a target port as the aggregation port is achieved, and after the service quality scheduling is completed, the target member port of the flow is selected, so that service quality scheduling failure caused by flow cross-board and cross-chip transmission is avoided, and reliability of the service quality scheduling is improved.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
To more clearly illustrate the technical solutions of the present disclosure, the drawings needed for the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present disclosure, and therefore should not be considered as limiting the scope, and those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is an architecture block diagram of a distributed device provided by the present disclosure.
Fig. 2 is a block schematic diagram of an electronic device provided in the present disclosure.
Fig. 3 is a flowchart illustrating a method for scheduling qos executed by a main control board according to the present disclosure.
Fig. 4 is a block diagram illustrating a qos scheduling apparatus applied to a main control board according to the present disclosure.
Fig. 5 is a flowchart illustrating a method for scheduling qos by a service interface board according to the present disclosure.
Fig. 6 is a block schematic diagram of a qos scheduling apparatus applied to a traffic interface board according to the present disclosure.
Fig. 7 is another schematic flow chart of a method for scheduling qos executed by a service interface board according to the present disclosure.
Fig. 8 is another block diagram of a qos scheduling apparatus applied to a traffic interface board according to the present disclosure.
Fig. 9 is a schematic diagram illustrating a principle of implementing qos scheduling according to the present disclosure.
Fig. 10 is a schematic diagram of another implementation of qos scheduling according to the present disclosure.
Fig. 11 is a schematic diagram illustrating a table lookup principle for implementing qos scheduling according to the present disclosure.
Icon: 1-a distributed device; 10-a main control board; 141-scheduler board selection module; 142-table item issuing module; 143-refresh notification module; 20-exchange the otter board; 30-a service interface board; 31-table entry obtaining module; 32-a traffic forwarding module; 33-notification obtaining module; 34-a flow processing module; 100-an electronic device; 110-a memory; 120-a processor; 130-network module.
Detailed Description
As shown in fig. 1, the distributed device 1 mainly includes a main control board 10, a switching network board 20, and a plurality of service interface boards 30, where inter-board communication links between the main control board 10 and the switching network board 20, and between the plurality of service interface boards 30 are control channels for processing control messages and protocol messages (control traffic).
The main control board 10 is a control unit of the distributed device 1 and is responsible for processing command line input and output. In the distributed device 1, the main control board 10 is responsible for sending messages to the service interface board 30, and sending various types of entries, for example, sending a routing forwarding entry to the service interface board 30 for guiding the forwarding of the traffic.
The switch network board 20 is a high-performance switch board for processing forwarding across the service interface boards 30, and is a data channel between different service interface boards 30.
The service interface board 30 is a data processing unit of the distributed device 1, and is a data traffic input/output path, after the main control board 10 issues the route forwarding table to the service interface board 30, the service interface board 30 receives the data traffic and forwards the data traffic through the route forwarding table and the data channel.
Generally, there are a plurality of service interface boards 30 of the distributed device 1, and data traffic is transmitted between different service interface boards 30, for example, if the traffic of the service interface board a is to be transmitted to the service interface board B, the traffic needs to be forwarded through the switching network board 20.
Based on the architecture shown in fig. 1, the traffic forwarding principle of the distributed device 1 is as follows: the main control board 10 configures entries such as a route to each service interface board 30 (by controlling the traffic), and the data traffic enters from an interface of a certain service interface board 30, is forwarded based on the route forwarding entry and the switching network board 20 through the service interface board 30, and flows out from the interface of the local board or the cross-board.
The currently common interface is an ethernet interface, and multiple ethernet physical links may be bundled together to form an ethernet logical link, i.e., an aggregation link. An aggregated link is a global interface modality, i.e. an aggregation port. Like the ethernet interface, the aggregation port may be configured with an IP (Internet Protocol) address, and the aggregation port also needs a routing forwarding table entry for forwarding traffic. However, the aggregation port is actually only a set of multiple ethernet physical ports (ethernet interfaces), and the message still needs to go out from the member port added to the aggregation link, that is, the ethernet physical port, so that the aggregation port needs to aggregate routing table entries such as an aggregation Hash (Hash) table entry in addition to the normal routing forwarding table entry to select the member port for the traffic on the aggregation link. The aggregation Hash table entry may be generated by the main control board 10 notifying the service interface board 30 when multiple ethernet physical ports (ethernet interfaces) are added to the aggregation link.
Based on the above-mentioned architecture and configuration, after the traffic enters from the service interface board 30, the egress interface is found through the route forwarding table entry, if the egress interface is the aggregation interface, the Hash value is calculated according to the traffic characteristics, such as the destination IP address and the source IP address, and then the aggregation Hash table entry is queried by using the Hash value, the real ethernet physical egress interface is found, and the traffic is forwarded normally from the found ethernet physical egress interface.
Aggregated links, while extending link bandwidth, congestion is still extremely common in complex Internet (Internet) packet-switched environments. In Quality of Service (QoS), a queue technique is generally used for congestion management. For example, traffic is classified using a queuing algorithm and then sent out using some priority algorithm. Each queuing algorithm is often used to solve a specific network traffic problem, and has a significant impact on allocation of bandwidth resources, delay, jitter, and the like. For example, 8 queues are allocated to each interface, and different traffic classes on the interfaces are labeled as 8 traffic classes (traffic class), each traffic class is put into one queue, and different QoS scheduling can be realized between the queues.
The aggregation port is a global port, on the distributed device 1, each member port (each ethernet physical port constituting the aggregation port) of one aggregation port can be distributed on a plurality of service interface boards 30, while the queue resources are independent resources on the chips of each service interface board 30, the queues on the same chip can use one set of queue algorithm, and the queues on different chips cannot use one set of queue algorithm. For example, the queue resource of the service interface board a can only perform QoS scheduling on the traffic passing through the service interface board a, and cross-board QoS scheduling cannot be implemented.
Research shows that in the prior art, QoS scheduling of an aggregation port is mainly achieved by the following methods:
the main control board 10 creates an aggregation port and issues QoS configuration, sends a message to each target service interface board where each member port of the aggregation port is located, and after each target service interface board receives the message sent by the main control board 10, creates a routing forwarding table entry, an aggregation routing table entry such as an aggregation Hash table entry, and applies for each target service interface board for a queue resource and a queue mapping table entry. The flow enters from the interface of the source service interface board, the source service interface board inquires the route forwarding table entry, if the flow needs to exit from the aggregation port, the source service interface board inquires the aggregation Hash table entry, finds the physical output interface (destination member port) of the flow, then writes the found physical output interface information into the message header, and further forwards the flow to the target service interface board where the found physical output interface is located through the switching network board 20. The target service interface board further inquires the queue mapping table entry and sends the message to the corresponding queue for QoS scheduling.
The flow of the physical output interface which is the same target service interface board can use the queue resource of the target service interface board to perform QoS scheduling, and if the physical output interface is not on the same target service interface board, the QoS scheduling fails. The specific principle of QoS scheduling failure is as follows.
Since the chips for implementing QoS of the service interface boards 30 of the distributed device 1 are independent, a single service interface board 30 may have one chip, and a single service interface board 30 may also have a plurality of chips. When a QoS scheduling policy needs to be configured on a cross-board or cross-chip aggregation port, all chips need to be traversed to apply for queue resources and issue entries, and when the traffic goes to different chips, the situation of multiple times of traffic occurs. For example, assuming that a QoS scheduling policy originally sets a speed limit of 30M for a certain low-priority queue, when traffic is transmitted across boards, two target service interface boards of an aggregation link respectively schedule 30M according to the QoS scheduling policy, and may occupy a bandwidth of 60M of the aggregation link. Therefore, when the cross-board transmission is carried out, the multi-time flow appears, the bandwidth of the aggregation link is actually occupied to be higher than the originally set bandwidth of the QoS scheduling strategy, and the QoS scheduling fails.
In order to improve the situation that multiple flows occur when the flows are transmitted across boards and walk on different chips, when the aggregate port link queue is configured for limiting the speed, the speed limiting value can be issued according to the proportion of each member port of the aggregate port. For example, suppose that a service interface board a has two member ports, and a service interface board B has one member port, when setting a speed limit for a certain queue to be 30M, the service interface board a can be configured with 20M speed limit, and the service interface board B is configured with 10M speed limit, so that the total speed limit of the queue is 30M.
However, the above configuration makes the single traffic not reach the maximum value of the aggregate port queue speed limit, and because the service interface board 30 generally performs Hash according to the packet type when selecting the member port as the outgoing interface for the traffic whose destination port is the aggregate port, for example, Hash is performed according to the destination IP address, the source IP address, and the like of the packet, by adopting this manner, the traffic of the same IP address will go to the same chip, and if the speed limit on the chip only has a partial bandwidth of the total speed limit, the single traffic cannot reach the total speed limit bandwidth. When the cross-chip transmission is carried out, the bandwidth of the aggregation link actually occupied by the flow is lower than the originally set bandwidth of the QoS scheduling strategy, so that the QoS scheduling is invalid.
Based on the above analysis, it can be known that the cross-version and cross-chip aggregation link in the distributed device 1 can only implement the speed limiting function, and the destination port is the traffic of the aggregation port with different priorities, for example, if the high-priority traffic and the low-priority traffic are hashed to different service interface boards 30, the QoS scheduling will fail, and the QoS scheduling reliability needs to be improved.
In view of the above, the present disclosure provides a method, an apparatus, an electronic device, and a computer-readable storage medium for scheduling QoS, when a service interface board forwards a traffic whose destination port is an aggregation port, the method abandons a processing procedure of querying an aggregation routing table entry first and selecting a physical egress interface of the traffic, and then executing QoS scheduling on the service interface board where each found physical egress interface is located, initiatively executing QoS scheduling on one service interface board, and querying the aggregation routing table entry to select the physical egress interface after the QoS scheduling is completed, thereby avoiding failure of QoS scheduling due to traffic cross-board and cross-chip transmission, and ensuring reliability of QoS scheduling.
The above-mentioned drawbacks are the results of the inventor after practical and careful study, and therefore, the discovery process of the above-mentioned problems and the solutions proposed by the present disclosure to the above-mentioned problems should be the contribution of the inventor in the process of the present disclosure.
The technical solutions in the present disclosure will be described clearly and completely with reference to the accompanying drawings in the present disclosure, and it is to be understood that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. The components of the present disclosure, as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure, presented in the figures, is not intended to limit the scope of the claimed disclosure, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making creative efforts, shall fall within the protection scope of the disclosure.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Fig. 2 is a block diagram of an electronic device 100 provided by the present disclosure. The electronic device 100 can be a main control board 10, a service interface board 30, etc. located in the application scenario shown in fig. 1. As shown in fig. 2, the electronic device 100 includes: memory 110, processor 120, and network module 130.
The memory 110, the processor 120 and the network module 130 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The memory 110 stores software functional modules which can be stored in the memory 110 in the form of software or firmware (firmware), and the processor 120 executes various functional applications and data processing by running the software programs and modules stored in the memory 110, such as implementing the quality of service scheduling method executed by the main control board 10 or the service interface board 30 in the present disclosure.
The Memory 110 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 110 is used for storing a program, and the processor 120 executes the program after receiving an execution instruction.
The processor 120 may be an integrated circuit chip having data processing capabilities. The Processor 120 may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like. The various methods, steps and logic blocks disclosed in this disclosure may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The network module 130 is used for establishing a communication connection between the electronic device 100 and an external communication terminal through a network, and implementing transceiving operations of network signals and data. The network signal may include a wireless signal or a wired signal.
It will be appreciated that the configuration shown in FIG. 2 is merely illustrative and that electronic device 100 may include more or fewer components than shown in FIG. 2 or have a different configuration than shown in FIG. 2. The components shown in fig. 2 may be implemented in hardware, software, or a combination thereof.
On the basis of the foregoing, the present disclosure further provides a computer-readable storage medium, where the computer-readable storage medium includes a computer program, and the computer program controls, when running, the electronic device 100 where the computer-readable storage medium is located to execute the qos scheduling method.
Referring back to fig. 1, the present disclosure provides a distributed device 1, where the distributed device 1 includes a main control board 10 and a plurality of service interface boards 30 communicatively connected to the main control board 10, and the plurality of service interface boards 30 include at least two target service interface boards where member ports forming an aggregation port are located.
It is understood that the distributed device 1 may further include a switch board 20, and the switch board 20 is used to implement traffic transmission between the service interface boards 30.
The main control board 10 is configured to select one of the at least two target service interface boards as an aggregation port qos (quality of service) scheduling board, and issue a queue mapping table entry and an aggregation routing table entry of the aggregation port to the aggregation port qos scheduling board.
In the present disclosure, the operation of selecting one from at least two target traffic interface boards as an aggregation interface QoS scheduler by the main control board 10 may be performed after the user enables QoS configuration at the aggregation interface. There are various ways for a user to enable QoS configuration at the aggregation port, for example, the main control board 10 may provide a connection for remotely operating the distributed device 1, such as a telnet connection, so that the user performs a user command line operation based on the telnet connection, and enables QoS configuration at the aggregation port.
The way of selecting the aggregation port qos scheduling board by the main control board 10 can be flexibly set, and in an implementation manner, the main control board 10 can randomly select one of at least two target service interface boards as the aggregation port qos scheduling board.
In another implementation, the main control board 10 may select one of the at least two target traffic interface boards with the largest queue resource as the aggregation port qos scheduling board. By adopting the selection mode, the queue resources of the service quality scheduling board of the aggregation port of each aggregation port are the most under the condition that the QoS configuration is enabled by a plurality of aggregation ports, and the problem that the resources are insufficient because the same service interface board is selected by a plurality of aggregation ports as the service quality scheduling board of the aggregation port is avoided.
After selecting one of at least two target service interface boards as an aggregation port service quality scheduling board, in order to realize the forwarding of the flow with the target port as the aggregation port, only a queue mapping table item and an aggregation routing table item of the aggregation port need to be issued to the aggregation port service quality scheduling board, and only a queue resource needs to be applied to the aggregation port service quality scheduling board.
Based on the above design, the service quality scheduling board of the aggregation port is configured to query the queue mapping table entry, send traffic with a destination port as the aggregation port to a corresponding queue for service quality scheduling, query the aggregation routing table entry to obtain a destination member port for forwarding the traffic after the service quality scheduling is completed, and forward the traffic to the destination member port.
Based on the implementation scheme, the traffic of which the destination port is the aggregation port can complete the service quality scheduling on a target service interface board (aggregation port service quality scheduling board), so that the failure of service quality scheduling caused by cross-board and cross-chip transmission of the traffic of which the destination port is the aggregation port in the prior art is avoided, and the reliability of the service quality scheduling is ensured.
In order to ensure that the traffic of the destination port as the aggregation port can be forwarded to the selected aggregation port service quality scheduling board, after the aggregation port service quality scheduling board is selected, the main control board 10 is further configured to notify each service interface board communicatively connected to the main control board 10 of refreshing a route forwarding entry, and use the device number and the port number of the aggregation port service quality scheduling board as the device number and the port number corresponding to the aggregation port, so that after a source service interface board receiving the traffic of the destination port as the aggregation port queries the refreshed route forwarding entry, the traffic is forwarded to the aggregation port service quality scheduling board.
By setting the service interface board corresponding to the aggregation port as an aggregation port service quality scheduling board in the route forwarding table entry, after the source service interface board receives the traffic of which the destination port is the aggregation port, inquiring the route forwarding table entry and sending the traffic to the aggregation port service quality scheduling board through the switching network board 20, the aggregation port service quality scheduling board further inquires the queue mapping table entry to obtain queues corresponding to different types of traffic and performs QoS scheduling, and then after the QoS scheduling is completed, inquiring the aggregation routing table entry and retransmitting the traffic to the real destination member port.
The service quality scheduling board of the aggregation port firstly queries the queue mapping table items to send the flow to the corresponding queue for QoS scheduling, and then queries the aggregation routing table items to forward the flow to the real target member port, thereby completing the QoS scheduling and forwarding process of the flow of the primary aggregation port. Because the flow of the aggregation port finishes QoS scheduling on a service interface board (aggregation port service quality scheduling board) at first and then forwards the flow which finishes QoS scheduling to a real target member port, the flow can be subjected to overall QoS scheduling by using the queue resources of the same service interface board (aggregation port service quality scheduling board), cross-board QoS scheduling is not needed, QoS scheduling failure caused by cross-board QoS scheduling is avoided, and the reliability of QoS scheduling is improved.
Referring to fig. 3, based on the same design concept as that of the distributed device 1, the present disclosure further provides a quality of service scheduling method, where the quality of service scheduling method is applied to a main control board 10, the main control board 10 is in communication connection with a plurality of service interface boards 30, the plurality of service interface boards 30 include at least two target service interface boards where member ports forming an aggregation port are located, and the method includes the following steps executed by the main control board 10.
Step S110, selecting one from the at least two target service interface boards as an aggregation port qos scheduling board.
In one implementation, step S110 includes: and selecting one of the at least two target service interface boards with the most queue resources as an aggregation port service quality scheduling board. In another implementation, step S110 includes: and randomly selecting one from the at least two target service interface boards as an aggregation port service quality scheduling board. It is understood that step S110 may also include other implementations, which are not limited by this disclosure.
Step S120, issuing the queue mapping table and the aggregate routing table of the aggregation port to the service quality scheduling board of the aggregation port, so that the service quality scheduling board of the aggregation port queries the queue mapping table, and sends the traffic of the aggregation port as a destination port to a corresponding queue for service quality scheduling, and after the service quality scheduling is completed, queries the aggregate routing table to obtain a destination member port for forwarding the traffic, and forwards the traffic to the destination member port.
In the present disclosure, the method further comprises: after selecting the service quality scheduling board of the aggregation port, the main control board 10 notifies each service interface board 30 communicatively connected to the main control board 10 to refresh the route forwarding table entry, and uses the device number and the port number of the service quality scheduling board of the aggregation port as the device number and the port number corresponding to the aggregation port, so that the source service interface board receiving the traffic of which the destination port is the aggregation port queries the refreshed route forwarding table entry, and forwards the traffic to the service quality scheduling board of the aggregation port.
In this disclosure, a specific process of the main control board 10 executing the qos scheduling method may refer to a description of the main control board 10 in the distributed device 1 including the main control board 10, and is not described herein again.
Referring to fig. 4, the present disclosure further provides a service quality scheduling apparatus, which is applied to a main control board 10, where the main control board 10 is in communication connection with a plurality of service interface boards 30, each of the plurality of service interface boards 30 includes at least two target service interface boards where member ports forming an aggregation port are located, and the service quality scheduling apparatus includes a scheduling board selecting module 141 and a table entry issuing module 142.
The scheduler board selecting module 141 is configured to select one of the at least two target traffic interface boards as an aggregation interface qos scheduler board.
For the implementation of the scheduler board selection module 141, reference may be made to the related description of step S110 in fig. 3, which is not described herein again.
The entry issuing module 142 is configured to issue a queue mapping entry and an aggregate routing entry of the aggregation port to the aggregation port qos scheduler board, so that the aggregation port qos scheduler board queries the queue mapping entry to send traffic of a destination port as the aggregation port to a corresponding queue for qos scheduling, and after qos scheduling is completed, queries the aggregate routing entry to obtain a destination member port for forwarding the traffic, and forwards the traffic to the destination member port.
The implementation manner of the entry issuing module 142 may refer to the related description of step S120 in fig. 3, which is not described herein again.
The qos scheduling apparatus further includes a refresh notification module 143, where the refresh notification module 143 is configured to notify, after the aggregate port qos scheduling board is selected, each service interface board 30 communicatively connected to the main control board 10 to refresh a route forwarding entry, and use a device number and a port number of the aggregate port qos scheduling board as a device number and a port number corresponding to the aggregate port, so that a source service interface board receiving traffic of which a destination port is the aggregate port queries the refreshed route forwarding entry, and forwards the traffic to the aggregate port qos scheduling board.
Referring to fig. 5, on the above basis, the present disclosure further provides a quality of service scheduling method, which is applied to a service interface board 30 where a member port forming an aggregation port is located, where the service interface board 30 is in communication connection with a main control board 10, and the method includes steps S210 and S220 executed by the service interface board 30.
Step S210, obtaining the queue mapping table entry and the aggregate routing table entry of the aggregation port issued by the main control board 10.
Step S220, querying the queue mapping table entry, sending the traffic whose destination port is the aggregation port to a corresponding queue for qos scheduling, querying the aggregation routing table entry to obtain a corresponding destination member port after the qos scheduling is completed, and forwarding the traffic to the destination member port.
It can be understood that the service interface board 30 executing the steps shown in fig. 5 is the aggregation port qos scheduling board described in the distributed device 1 and the main control board 10, and thus, a specific implementation flow of the service interface board 30 executing the steps shown in fig. 5 may refer to the description of the aggregation port qos scheduling board in the distributed device 1 including the service interface board 30 (aggregation port qos scheduling board), which is not described herein again.
With reference to fig. 6, on the basis of the foregoing, the present disclosure further provides a service quality scheduling apparatus, which is applied to a service interface board 30 where a member port forming an aggregation port is located, where the service interface board 30 is in communication connection with a main control board 10, and the service quality scheduling apparatus includes an entry obtaining module 31 and a traffic forwarding module 32.
The table entry obtaining module 31 is configured to obtain a queue mapping table entry and an aggregate routing table entry of the aggregation port issued by the main control board 10.
For the implementation of the table entry obtaining module 31, reference may be made to the related description of step S210 in fig. 5, which is not described herein again.
The traffic forwarding module 32 is configured to query the queue mapping table entry, send the traffic whose destination port is the aggregation port to a corresponding queue for qos scheduling, query the aggregation routing table entry to obtain a corresponding destination member port after the qos scheduling is completed, and forward the traffic to the destination member port.
As for the implementation of the traffic forwarding module 32, reference may be made to the related description of step S220 in fig. 5, which is not described herein again.
Referring to fig. 7, on the above basis, the present disclosure further provides a quality of service scheduling method, which is applied to a service interface board 30 where a member port forming an aggregation port is located, where the service interface board 30 is in communication connection with a main control board 10, and the method includes steps S230 and S240 executed by the service interface board 30.
Step S230, obtaining a notification for refreshing the route forwarding table item issued by the main control board 10.
Step S240, according to the notification, using the device number and the port number of the service quality scheduling board of the aggregation port as the device number and the port number corresponding to the aggregation port, so as to query the refreshed route forwarding table entry and forward the traffic to the service quality scheduling board of the aggregation port for unified scheduling when receiving the traffic whose destination port is the aggregation port.
It can be understood that the service interface board 30 executing each step shown in fig. 7 is any one of the service interface boards 30 that is not selected as the aggregation port service quality scheduling board in the service interface boards 30 where the member ports forming the aggregation ports are located described in the distributed device 1 and the main control board 10, and therefore, a specific implementation flow of the service interface board 30 executing each step shown in fig. 7 may refer to descriptions of each service interface board 30 that is not selected as the aggregation port service quality scheduling board in each service interface board 30 where the member ports forming the aggregation ports are located in the distributed device 1 including the service interface board 30, which are not described herein in detail.
Referring to fig. 8, on the basis of the above description, the present disclosure further provides a service quality scheduling apparatus, which is applied to a service interface board 30 where a member port forming an aggregation port is located, where the service interface board 30 is in communication connection with a main control board 10, and the apparatus includes a notification obtaining module 33 and a traffic processing module 34.
The notification obtaining module 33 is configured to obtain a notification of refreshing the route forwarding table item issued by the main control board 10.
For the implementation of the notification obtaining module 33, reference may be made to the related description of step S230 in fig. 7, which is not described herein again.
The traffic processing module 34 is configured to use the device number and the port number of the service quality scheduling board of the aggregation port as the device number and the port number corresponding to the aggregation port according to the notification, so that when receiving traffic whose destination port is the aggregation port, after querying the refreshed route forwarding table entry, the traffic is forwarded to the service quality scheduling board of the aggregation port for unified scheduling.
As for the implementation of the flow processing module 34, reference may be made to the related description of step S240 in fig. 7, which is not described herein again.
By adopting the scheme in the disclosure, only one service interface board (aggregation port service quality scheduling board) where the member port of the aggregation port is located needs to apply for queue resources, and perform QoS scheduling uniformly on the service interface board, and after the QoS scheduling is completed, forward the flow to the target member port. Each member port which does not need to form an aggregation port applies for queue resources and carries out QoS scheduling respectively, and cross-board scheduling is not needed while the QoS scheduling convenience is improved, so that the QoS scheduling failure caused by cross-board QoS scheduling is avoided, and the QoS scheduling reliability is improved.
To more clearly illustrate the implementation principle and advantages of the present disclosure, the following scenario is taken as an example to illustrate the implementation procedure of the qos scheduling scheme in the prior art and the implementation procedure of the qos scheduling scheme in the present disclosure in a comparative manner.
Referring to fig. 9 and 10, it is assumed that the distributed device includes a main control board, a switching network board and three service interface boards. The three service interface boards include a source service interface board, a target service interface board A and a target service interface board B, the target service interface board A and the target service interface board B carry out link aggregation to form an aggregation port.
In a scenario where a target data traffic with a destination port as an aggregation port enters from an interface of a source service interface board and flows out from an aggregation port (destination member ports are located on a target service interface board a and a target service interface board B, respectively), an implementation principle of a service quality scheduling scheme in the prior art refers to fig. 9, and an implementation principle of a service quality scheduling scheme in the present disclosure refers to fig. 10. In fig. 9 and 10, the dotted line represents the control flow rate, and the solid line represents the target data flow rate.
As shown in fig. 9, in the prior art, in order to implement QoS scheduling of an aggregation port, a main control board configures a route forwarding table, an aggregation Hash table, and a queue mapping table to a source service interface board, a target service interface board a, and a target service interface board B, respectively, by controlling traffic. The target service interface board a and the target service interface board B need to apply for queue resources respectively.
Based on the above configuration, the QoS scheduling procedure of the aggregation port in the prior art is as follows:
the target data flow enters from the interface of the source service interface board, the source service interface board inquires the route forwarding table entry to obtain the outlet interface of the target data flow, and under the condition that the target data flow needs to be discharged from the aggregation port, the source service interface board inquires the aggregation Hash table entry to obtain the physical outlet interface (target member port) of the target data flow. Assuming that a source service interface board obtains that a part of target data traffic (first data sub-traffic) needs to flow out from an interface of a target service interface board a, and another part of target data traffic (second data sub-traffic) needs to flow out from an interface of a target service interface board B, the source service interface board writes interface information of the target service interface board a into a header of the first data sub-traffic, and then forwards the first data sub-traffic to the target service interface board a through a switching network board. The source business interface board writes the interface information of the target business interface board B into the message header of the second data sub-flow, and then forwards the second data sub-flow to the target business interface board B through the exchange network board.
The target service interface board A inquires the queue mapping table entry on the target service interface board A to send the first data sub-flow into the corresponding queue for service quality scheduling, and the target service interface board B inquires the queue mapping table entry on the target service interface board B to send the second data sub-flow into the corresponding queue for QoS scheduling. Assuming that the QoS scheduling policy originally sets a queue speed limit 60M corresponding to the target data traffic, the target service interface board a schedules a 60M bandwidth to transmit the first data sub-traffic according to the QoS scheduling policy, and the target service interface board B schedules a 60M bandwidth to transmit the second data sub-traffic according to the QoS scheduling policy, so that the bandwidth of the aggregation link actually occupied by the target data traffic is 120M, which is higher than the 60M bandwidth originally set by the QoS scheduling policy, and the QoS scheduling fails.
As shown in fig. 10, in order to ensure the reliability of QoS scheduling, in the present disclosure, the main control board configures a route forwarding table entry to the source service interface board, the target service interface board a, and the target service interface board B respectively by controlling traffic. After the user enables QoS configuration at the aggregation port, the main control board selects one from the target service interface board A and the target service interface board B as an aggregation port QoS scheduling board, and the selection principle of the aggregation port QoS scheduling board is one with the largest queue resource in each target service interface board where the member port of the aggregation port is located. When the queue resource of the target service interface board A is the most, the target service interface board A is selected as an aggregation port QoS scheduling board.
After the aggregation port QoS scheduling board is selected, the main control board notifies the aggregation port QoS scheduling board to issue a queue mapping table entry and an aggregation Hash table entry of an aggregation port, and notifies the source service interface board, the target service interface board a, and the target service interface board B to refresh a route forwarding table entry, and changes a target single board (a service interface board where a target member port is located) in a route forwarding table entry corresponding to the aggregation port into the aggregation port QoS scheduling board, for example, a device number and a port number of the aggregation port QoS scheduling board are used as a device number and a port number corresponding to the aggregation port.
Based on the above setting, after receiving the target data traffic with the aggregation port as the destination port, the source service interface board queries the refreshed route forwarding table entry, and sends the target data traffic to the QoS dispatch board of the aggregation port through the switch network board. And the aggregation port QoS scheduling board queries the queue mapping table entry to perform QoS scheduling.
Suppose that the QoS scheduling policy sets a queue speed limit of 60M corresponding to the target data traffic, where a part of the data traffic (first data sub-traffic) requires 30M of bandwidth and another part of the data traffic (second data sub-traffic) requires 30M of bandwidth. After the QoS scheduling is completed, the aggregation port QoS scheduling board queries the aggregation Hash table entry again, and it is obtained that the first data sub-flow needs to flow out from the interface of the target service interface board a, and the second data sub-flow needs to flow out from the interface of the target service interface board B. Then, the aggregation port QoS scheduler directly forwards the first data sub-traffic from the interface of the local board (target traffic interface board a) with a bandwidth of 30M. And the aggregation port QoS scheduling board writes the interface information of the target service interface board B into a message header of the second data sub-flow, and forwards the second data sub-flow to the target service interface board B through the switching network board at a bandwidth of 30M, and the target service interface board B forwards the second data sub-flow from the interface. Therefore, the bandwidth of the aggregation link actually occupied by transmitting the target data flow is 60M, the 60M bandwidth originally set by the QoS scheduling strategy is met, and the reliability of QoS scheduling is ensured.
As an implementation manner, the route forwarding table entry in the embodiment of the present disclosure may be stored in a hardware chip of a service interface board, as shown in table 1, the route forwarding table entry in the present disclosure may include the following contents.
Figure BDA0002145435550000241
Figure BDA0002145435550000251
TABLE 1
The queue mapping table entry of the aggregation port can be stored in the traffic interface board. As shown in Table 2, the queue map entries may include the following.
Figure BDA0002145435550000252
Figure BDA0002145435550000261
TABLE 2
The aggregated Hash table entry may be stored in a hardware chip of the traffic interface board, as shown in table 3, and the aggregated Hash table entry may include the following contents.
Figure BDA0002145435550000262
TABLE 3
It can be understood that, based on the above table entries, when implementing QoS scheduling of an aggregation port, it may be determined whether an output interface of a traffic is an aggregation port or a physical port by routing a forwarding table entry, determine a service interface board corresponding to the traffic based on dip, lddev, and a port number of the traffic, then apply for QoS queue resources according to the port number and tc by a queue mapping table entry, and further find out ddev and dport based on an aggregation Hash table entry, thereby forwarding the traffic that completes QoS scheduling. Referring to fig. 11, the present disclosure provides an exemplary table lookup principle using the qos scheduling scheme of the present disclosure. In fig. 11, the dotted line indicates physical link traffic, and the solid line indicates aggregated link traffic.
As shown in fig. 11, based on the route forwarding table entry, the physical link traffic entering the source service interface board is directly forwarded to the target service interface board B for QoS scheduling, and after the QoS scheduling is completed, the physical link traffic flows out of the physical output interface of the target service interface board B. Based on the route forwarding table entry, the aggregate link traffic (the target data traffic) entering the source service interface board is uniformly forwarded to a target service interface board a (an aggregate port QoS scheduling board), and the target service interface board a uniformly performs QoS scheduling on the aggregate link traffic based on the queue mapping table entry, for example, bandwidth is respectively allocated to the first data sub-traffic and the second data sub-traffic, for example, 30M. After the QoS scheduling is completed, based on the aggregated Hash table entry, it is found that the output interface of the first data sub-flow is a member port on the target service interface board a, and the output interface of the second data sub-flow is a member port on the target service interface board B, so that the first data sub-flow is forwarded from the member port on the target service interface board a with a bandwidth of 30M, and the second data sub-flow is forwarded from the member port on the target service interface board B with a bandwidth of 30M.
As can be seen from the comparison and analysis of the QoS scheduling flows in fig. 9 and fig. 10, by using the QoS scheduling method, apparatus, electronic device and computer-readable storage medium provided by the present disclosure, the number of queue resources to be used for QoS scheduling can be saved, the problem of inaccurate QoS scheduling of cross-board and cross-chip aggregation links is solved, and the reliability of QoS scheduling is improved.
In the several embodiments provided in the present disclosure, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus and method embodiments described above are illustrative only, as the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present disclosure may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, an electronic device, or a network device) to execute all or part of the steps of the method according to the embodiments of the present disclosure. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing is illustrative of only alternative embodiments of the present disclosure and is not intended to limit the disclosure, which may be modified and varied by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present disclosure should be included in the protection scope of the present disclosure.

Claims (10)

1. A service quality scheduling method is applied to a main control board, the main control board is in communication connection with a plurality of service interface boards, the plurality of service interface boards comprise at least two target service interface boards where member ports forming an aggregation port are located, and the method comprises the following steps:
selecting one from the at least two target service interface boards as an aggregation port service quality scheduling board;
and issuing the queue mapping table entry and the aggregation routing table entry of the aggregation port to the service quality scheduling board of the aggregation port, so that the service quality scheduling board of the aggregation port inquires the queue mapping table entry, sends the traffic of which the target port is the aggregation port to a corresponding queue for service quality scheduling, inquires the aggregation routing table entry after the service quality scheduling is finished, obtains a target member port for forwarding the traffic, and forwards the traffic to the target member port.
2. The method of claim 1, further comprising:
after selecting the service quality scheduling board of the aggregation port, notifying each service interface board in communication connection with the main control board to refresh the route forwarding table entry, and taking the equipment number and the port number of the service quality scheduling board of the aggregation port as the equipment number and the port number corresponding to the aggregation port, so that after a source service interface board receiving the traffic of which the destination port is the aggregation port inquires the refreshed route forwarding table entry, the traffic is forwarded to the service quality scheduling board of the aggregation port.
3. The qos scheduling method according to claim 1, wherein the step of selecting one of the at least two target traffic interface boards as an aggregation interface qos scheduling board comprises:
and selecting one of the at least two target service interface boards with the most queue resources as an aggregation port service quality scheduling board.
4. A service quality scheduling device is applied to a main control board, the main control board is in communication connection with a plurality of service interface boards, the plurality of service interface boards comprise at least two target service interface boards where member ports forming an aggregation port are located, and the service quality scheduling device comprises:
a scheduling board selecting module, configured to select one of the at least two target service interface boards as an aggregation port service quality scheduling board;
and the table item issuing module is used for issuing the queue mapping table item and the aggregation routing table item of the aggregation port to the aggregation port service quality scheduling board, so that the aggregation port service quality scheduling board inquires the queue mapping table item to send the traffic of which the destination port is the aggregation port to a corresponding queue for service quality scheduling, and after the service quality scheduling is finished, inquires the aggregation routing table item to obtain a destination member port for forwarding the traffic, and forwards the traffic to the destination member port.
5. A service quality scheduling method is applied to a service interface board where member ports forming an aggregation port are located, the service interface board is in communication connection with a main control board, and the method comprises the following steps:
acquiring a queue mapping table entry and an aggregation routing table entry of the aggregation port issued by the main control board;
and inquiring the queue mapping table entry, sending the traffic of which the target port is the aggregation port into a corresponding queue for service quality scheduling, inquiring the aggregation routing table entry to obtain a corresponding target member port after the service quality scheduling is finished, and forwarding the traffic to the target member port.
6. A service quality scheduling apparatus, which is applied to a service interface board where member ports forming an aggregation port are located, the service interface board being communicatively connected to a main control board, the service quality scheduling apparatus comprising:
the table entry obtaining module is used for obtaining the queue mapping table entry and the aggregation routing table entry of the aggregation port issued by the main control board;
and the flow forwarding module is used for inquiring the queue mapping table entry, sending the flow with the destination port as the aggregation port into a corresponding queue for service quality scheduling, inquiring the aggregation routing table entry to obtain a corresponding destination member port after the service quality scheduling is finished, and forwarding the flow to the destination member port.
7. A service quality scheduling method is applied to a service interface board where member ports forming an aggregation port are located, the service interface board is in communication connection with a main control board, and the method comprises the following steps:
obtaining a notice of refreshing a route forwarding table item issued by the main control board;
and taking the equipment number and the port number of the service quality scheduling board of the aggregation port as the equipment number and the port number corresponding to the aggregation port according to the notification, and inquiring the refreshed routing forwarding table entry and forwarding the traffic to the service quality scheduling board of the aggregation port for unified scheduling when the traffic with the destination port as the aggregation port is received.
8. A service quality scheduling apparatus, which is applied to a service interface board where member ports forming an aggregation port are located, the service interface board being communicatively connected to a main control board, the apparatus comprising:
a notification obtaining module, configured to obtain a notification for refreshing a route forwarding table item issued by the main control board;
and the traffic processing module is used for taking the equipment number and the port number of the service quality scheduling board of the aggregation port as the equipment number and the port number corresponding to the aggregation port according to the notification, inquiring the refreshed route forwarding table entry when the traffic with the destination port as the aggregation port is received, and forwarding the traffic to the service quality scheduling board of the aggregation port for unified scheduling.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the quality of service scheduling method of any one of claims 1 to 3 when executing the program.
10. A computer-readable storage medium, comprising a computer program, which when executed controls an electronic device where the computer-readable storage medium is located to perform the method for scheduling quality of service according to any one of claims 1 to 3.
CN201910687231.7A 2019-07-26 2019-07-26 Service quality scheduling method and device, electronic equipment and computer readable storage medium Active CN110365580B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910687231.7A CN110365580B (en) 2019-07-26 2019-07-26 Service quality scheduling method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910687231.7A CN110365580B (en) 2019-07-26 2019-07-26 Service quality scheduling method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110365580A CN110365580A (en) 2019-10-22
CN110365580B true CN110365580B (en) 2022-02-22

Family

ID=68222320

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910687231.7A Active CN110365580B (en) 2019-07-26 2019-07-26 Service quality scheduling method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110365580B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112804166A (en) * 2019-11-13 2021-05-14 中兴通讯股份有限公司 Message transmitting and receiving method, device and storage medium
CN112866115B (en) * 2020-12-31 2023-04-07 杭州迪普科技股份有限公司 Method, device, electronic equipment and storage medium for realizing transparent serial connection

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012116540A1 (en) * 2011-02-28 2012-09-07 华为技术有限公司 Traffic management method and management device
CN104852859A (en) * 2015-04-30 2015-08-19 杭州华三通信技术有限公司 Aggregate interface service processing method and aggregate interface service processing equipment
CN105656799A (en) * 2016-01-08 2016-06-08 浪潮集团有限公司 Scheduling method based on business features in SDN network
CN105991464A (en) * 2015-04-20 2016-10-05 杭州迪普科技有限公司 Network traffic shunting method, main control board, interface board and gateway device
CN108809849A (en) * 2018-08-30 2018-11-13 新华三技术有限公司 A kind of Limit Rate method, apparatus and controller

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012116540A1 (en) * 2011-02-28 2012-09-07 华为技术有限公司 Traffic management method and management device
CN105991464A (en) * 2015-04-20 2016-10-05 杭州迪普科技有限公司 Network traffic shunting method, main control board, interface board and gateway device
CN104852859A (en) * 2015-04-30 2015-08-19 杭州华三通信技术有限公司 Aggregate interface service processing method and aggregate interface service processing equipment
CN105656799A (en) * 2016-01-08 2016-06-08 浪潮集团有限公司 Scheduling method based on business features in SDN network
CN108809849A (en) * 2018-08-30 2018-11-13 新华三技术有限公司 A kind of Limit Rate method, apparatus and controller

Also Published As

Publication number Publication date
CN110365580A (en) 2019-10-22

Similar Documents

Publication Publication Date Title
US9264371B2 (en) Router, method for controlling the router, and computer program
CN114073052A (en) Slice-based routing
US11516151B2 (en) Dynamically switching queueing systems for network switches
US8144588B1 (en) Scalable resource management in distributed environment
EP2782301B1 (en) Router device, method for controlling router device, and computer program
JP2006325275A (en) Policy based quality of service
US9191334B2 (en) Method for improving the quality of data transmission in a packet-based communication network
US9106593B2 (en) Multicast flow reordering scheme
CN107181698B (en) System and method for single queue multi-stream traffic shaping
US20080298397A1 (en) Communication fabric bandwidth management
Cheng et al. Application-aware SDN routing for big data networking
EP3079316B1 (en) Network switch circuit, system and method
US20070268825A1 (en) Fine-grain fairness in a hierarchical switched system
US20130136141A1 (en) Wrr scheduler configuration for optimized latency, buffer utilization
EP2670085A1 (en) System for performing Data Cut-Through
WO2020232182A1 (en) Quality of service in virtual service networks
CN110365580B (en) Service quality scheduling method and device, electronic equipment and computer readable storage medium
CN115622952A (en) Resource scheduling method, device, equipment and computer readable storage medium
JP6461834B2 (en) Network load balancing apparatus and method
CN116318554A (en) Network transmission method and device
US11012378B2 (en) Methods and apparatus for shared buffer allocation in a transport node
US11677673B1 (en) Low latency flow control in data centers
CN108924066B (en) Message forwarding method and device
Elshuber et al. Dependable and predictable time-triggered Ethernet networks with COTS components
Szymanski Low latency energy efficient communications in global-scale cloud computing systems

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant