CN110740100B - Transmission rate determining method, device, network equipment and storage medium - Google Patents

Transmission rate determining method, device, network equipment and storage medium Download PDF

Info

Publication number
CN110740100B
CN110740100B CN201911005829.XA CN201911005829A CN110740100B CN 110740100 B CN110740100 B CN 110740100B CN 201911005829 A CN201911005829 A CN 201911005829A CN 110740100 B CN110740100 B CN 110740100B
Authority
CN
China
Prior art keywords
transmission rate
virtual device
rate threshold
virtual
sub
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
CN201911005829.XA
Other languages
Chinese (zh)
Other versions
CN110740100A (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 Security Technologies Co Ltd
Original Assignee
New H3C Security 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 Security Technologies Co Ltd filed Critical New H3C Security Technologies Co Ltd
Priority to CN201911005829.XA priority Critical patent/CN110740100B/en
Publication of CN110740100A publication Critical patent/CN110740100A/en
Application granted granted Critical
Publication of CN110740100B publication Critical patent/CN110740100B/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
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/20Traffic policing
    • 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/29Flow control; Congestion control using a combination of thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/6215Individual queue per QOS, rate or priority

Landscapes

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

Abstract

The embodiment of the application provides a transmission rate determining method, a transmission rate determining device, network equipment and a storage medium. The scheme is as follows: the method includes the steps that whether a user-defined transmission rate threshold corresponding to each virtual device is stored in the network device or not can be judged, if yes, the user-defined transmission rate threshold corresponding to the virtual device is determined to be a sub-transmission rate threshold corresponding to the virtual device, the sub-transmission rate threshold is used for limiting the transmission rate of a transmission data packet, and if not, the sub-transmission rate threshold of each virtual device except the virtual device corresponding to the user-defined transmission rate threshold is determined according to the priority of each virtual device. By adopting the technical scheme provided by the embodiment of the application, the flexibility of determining the transmission rate threshold value is improved under the condition that the influence of virtual equipment with higher CPU resource occupation in network equipment on the running states of other virtual equipment is weakened and the running stability of the network equipment is improved.

Description

Transmission rate determining method, device, network equipment and storage medium
Technical Field
The present application relates to the field of data transmission technologies, and in particular, to a method and an apparatus for determining a transmission rate, a network device, and a storage medium.
Background
With the continuous development of virtualization technology, one network device may be composed of a plurality of virtual devices. Each virtual device in the network device may run in parallel according to the service requirement, that is, each virtual device in the network device may transmit a data packet in parallel according to the service requirement. Each data packet in the network device needs to be transmitted by consuming a certain amount of Central Processing Unit (CPU) resources, and when the CPU resources consumed by the operation of a certain virtual device in the network device are too high, the normal operation of other virtual devices is seriously affected, which results in unstable operation of the network device.
At present, in order to reduce the influence of too high CPU resource consumption of a single virtual device on the operating state of a network device, the transmission rate of a data packet in the virtual device is often limited by manually setting a transmission rate threshold, so that the CPU resource consumption of the virtual device is reduced. However, manually setting the transmission rate threshold limits the flexibility of packet transmission rates.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method, an apparatus, a network device, and a storage medium for determining a transmission rate, so as to improve flexibility of determining a transmission rate threshold value under the condition that an influence of a virtual device with a higher CPU resource occupation in the network device on an operation state of other virtual devices is weakened and stability of operation of the network device is improved. The specific technical scheme is as follows:
the embodiment of the application provides a transmission rate determining method, which is applied to network equipment, wherein the network equipment comprises a plurality of virtual equipment, and the method comprises the following steps:
for each virtual device, judging whether a user-defined transmission rate threshold corresponding to the virtual device is stored in the network device;
if so, determining a self-defined transmission rate threshold corresponding to the virtual device as a sub-transmission rate threshold corresponding to the virtual device, wherein the sub-transmission rate threshold is used for limiting the transmission rate of the transmission data packet;
and determining the sub-transmission rate threshold of each virtual device except the virtual device corresponding to the user-defined transmission rate threshold according to the priority of each virtual device.
An embodiment of the present application further provides a transmission rate determining apparatus, which is applied to a network device, where the network device includes a plurality of virtual devices, and the apparatus includes:
the first judging module is used for judging whether a user-defined transmission rate threshold corresponding to each virtual device is stored in the network device or not;
a first determining module, configured to determine, when a determination result of the first determining module is yes, a self-defined transmission rate threshold corresponding to the virtual device as a sub-transmission rate threshold corresponding to the virtual device, where the sub-transmission rate threshold is used to limit a transmission rate for transmitting a data packet;
and the second determining module is used for determining the sub-transmission rate threshold of each virtual device except the virtual device corresponding to the self-defined transmission rate threshold according to the priority of each virtual device.
Embodiments of the present application further provide a network device, including a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: implementing any of the above described transmission rate determination method steps.
Embodiments of the present application also provide a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to: implementing any of the above described transmission rate determination method steps.
The transmission rate determining method, apparatus, network device, and storage medium provided in the embodiments of the present application may determine, for each virtual device, whether a customized transmission rate threshold corresponding to the virtual device is stored in the network device, if yes, determine the customized transmission rate threshold corresponding to the virtual device as a sub-transmission rate threshold corresponding to the virtual device, where the sub-transmission rate threshold is used to limit a transmission rate of a transmission data packet, and if not, determine, according to a priority of each virtual device, a sub-transmission rate threshold of each virtual device except the virtual device corresponding to the customized transmission rate threshold.
By adopting the technical scheme provided by the embodiment of the application, the user-defined transmission rate threshold value can be set for the virtual equipment included in the network equipment, and the transmission rate threshold value of the virtual equipment can be set according to the priority of each virtual equipment. Specifically, for a virtual device with a customized transmission rate threshold, the customized transmission rate threshold is used as a sub-transmission rate threshold of the virtual device. For a network device without a virtual device with a customized transmission rate threshold, the sub-transmission rate threshold of the virtual device may be determined according to the priority of each virtual device. Compared with the existing method for determining the transmission rate threshold, the method for determining the transmission rate threshold comprehensively considers the user-defined transmission rate threshold and the priority, and further can limit the transmission rate of each virtual device in the network device for transmitting the data packet according to the determined transmission rate threshold, so that the influence of the virtual device with higher CPU resource occupation in the network device on the running state of other virtual devices is weakened, and the flexibility of determining the transmission rate threshold is improved under the condition that the running stability of the network device is improved.
Of course, it is not necessary for any product or method of the present application to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a first flowchart of a transmission rate determining method according to an embodiment of the present application;
fig. 2 is a second flowchart of a transmission rate determining method according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a transmission rate limiting method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a transmission rate determining apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a network device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Currently, virtualization technology can be applied in a variety of different network devices. Taking the firewall as an example, a physical firewall may be divided into a plurality of logical firewalls, where the physical firewall may be referred to as default contexts (scenarios), and each logical firewall may be referred to as a Context, i.e., the above virtual device. When a packet transmitted by one of the default contexts is too large, the Context will occupy more CPU resources. In order to reduce the influence of the Context on the running state of the default Context, the transmission rate of the data packet in the Context is limited by manually setting the transmission rate threshold corresponding to the Context.
In order to solve the problem that the flexibility of manually setting a transmission rate threshold is poor in the prior art, the embodiment of the application provides a transmission rate determining method. The method may be applied to any network device including, but not limited to, firewalls, switches, and the like. In the method provided in the embodiment of the present application, it is determined, for each virtual device, whether a customized transmission rate threshold corresponding to the virtual device is stored in a network device, if yes, the customized transmission rate threshold corresponding to the virtual device is determined as a sub-transmission rate threshold corresponding to the virtual device, where the sub-transmission rate threshold is used to limit a transmission rate of a transmission data packet, and if not, the sub-transmission rate threshold of each virtual device except the virtual device corresponding to the customized transmission rate threshold is determined according to a priority of each virtual device.
By adopting the method provided by the embodiment of the application, the user-defined transmission rate threshold value can be set for the virtual equipment included in the network equipment, and the transmission rate threshold value of the virtual equipment can be set according to the priority of each virtual equipment. Specifically, for a virtual device with a customized transmission rate threshold, the customized transmission rate threshold is used as a sub-transmission rate threshold of the virtual device. For a network device without a virtual device with a customized transmission rate threshold, the sub-transmission rate threshold of the virtual device may be determined according to the priority of each virtual device. Compared with the existing method for determining the transmission rate threshold, the method for determining the transmission rate threshold comprehensively considers the user-defined transmission rate threshold and the priority, and further can limit the transmission rate of each virtual device in the network device for transmitting the data packet according to the determined transmission rate threshold, so that the influence of the virtual device with higher CPU resource occupation in the network device on the running state of other virtual devices is weakened, and the flexibility of determining the transmission rate threshold is improved under the condition that the running stability of the network device is improved.
The following examples are given to illustrate the examples of the present application.
As shown in fig. 1, fig. 1 is a first flowchart of a transmission rate determining method according to an embodiment of the present application. For convenience of description, the network device is used as an implementation subject for explanation and not limitation. The method comprises the following steps.
Step S101, aiming at each virtual device, judging whether a user-defined transmission rate threshold value corresponding to the virtual device is stored in the network device. If yes, go to step S102. If not, step S103 is executed.
In this step, for each virtual device in the network device, the network device may determine whether a custom transmission rate threshold corresponding to the virtual device is stored. That is, whether a virtual device corresponding to the customized transmission rate threshold exists in the network device is determined. Step S102 is performed for each virtual device in the network device for which a custom transmission rate threshold exists. Step S103 is performed for each virtual device in the network device for which the custom transmission rate threshold does not exist.
In this embodiment, the self-defined transmission rate threshold and the priority of the virtual device included in the network device at least include the following cases.
In case one, there is no virtual device with a custom transmission rate threshold and an empty priority.
In case two, there are no virtual devices with custom transmission rate thresholds but with priorities that are not empty.
In case three, there is a virtual device with a custom transmission rate threshold, but an empty priority.
And in case four, the virtual equipment with the self-defined transmission rate threshold and the priority not being empty exists.
The network device judges whether each virtual device has a corresponding self-defined transmission rate threshold value, and judges whether the virtual device meets the first condition or the second condition, or meets the third condition or the fourth condition. When the case three or the case four is satisfied, step S102 is executed. When the case one or the case two is satisfied, step S103 is executed.
In an optional embodiment, the network device may store a corresponding relationship between each virtual device and the custom transmission rate threshold. The network device may determine whether each virtual device in the network device has a corresponding custom transmission rate threshold according to the correspondence, thereby determining that the virtual device having the application custom transmission rate threshold exists in the network device. As shown in table 1, table 1 is a corresponding relationship between a virtual device and a custom transmission rate threshold provided in this embodiment of the present application.
TABLE 1
Virtual appliance Custom transmission rate threshold
Device 1 Rate 1
Device 2 Rate 2
Device 3 -
In table 1 above, three virtual devices, i.e., device 1, device 2, and device 3, are included in the network device. According to the correspondence shown in table 1, the network device may determine that the customized transmission rate threshold corresponding to the device 1 is the rate 1, the customized transmission rate threshold corresponding to the device 2 is the rate 2, and the customized transmission rate threshold corresponding to the device 3 is a null value (i.e., -), that is, the device 3 does not have a corresponding customized transmission rate threshold. The network device may perform step S102 for device 1 and device 2, respectively. Step S103 is performed for the device 3.
In this embodiment, the network device is a hardware entity formed by multiple virtual devices. When determining the number of the virtual devices, the network device itself may be regarded as a virtual device. Here, the virtual device in the network device is not particularly limited.
Step S102, determining the customized transmission rate threshold corresponding to the virtual device as a sub-transmission rate threshold corresponding to the virtual device, where the sub-transmission rate threshold is used to limit the transmission rate of the transmission data packet.
In this step, for a virtual device having a corresponding customized transmission rate threshold in the network device, that is, a virtual device whose customized transmission rate is not a null value in the correspondence relationship, or a virtual device that satisfies the third or fourth condition, the network device may determine the customized transmission rate threshold corresponding to the virtual device as the sub-transmission rate threshold of the virtual device.
Still taking table 1 as an example, the device 1 and the device 2 both have corresponding self-defined transmission rate thresholds, and the self-defined transmission rate threshold is not a null value, and the network device may determine that the sub-transmission rate threshold of the device 1 is rate 1 and the sub-transmission rate threshold of the device 2 is rate 2.
In an alternative embodiment, the transfer rate threshold may be expressed in terms of Packet Per Second (PPS) values, or the transfer rate threshold may be expressed in terms of CPU occupancy. The PPS value is a unit corresponding to the network throughput, and is not specifically described here. Here, the expression of the fractional transmission rate threshold is not particularly limited.
Specifically, the network device may use corresponding parameters to represent the sub-transmission rate threshold according to transmission modes corresponding to different data packets. For example, if the data packet in a certain virtual device is transmitted in a multicast or broadcast manner, the network device may use the PPS value to indicate the sub-transmission rate threshold of the virtual device. For another example, if the data packet in a certain virtual device is transmitted in a unicast manner, the network device may use the CPU occupancy rate to represent the transmission rate threshold of the virtual device.
In this embodiment of the present application, according to different transmission modes corresponding to data packets, the representation modes of the sub-transmission rate thresholds are different, so that the determined sub-transmission rate thresholds can be applied to different application scenarios.
In an optional embodiment, after determining the sub-transmission rate threshold corresponding to each virtual device in the network device, the network device may limit the transmission rate at which each virtual device transmits the data packet according to the sub-transmission rate threshold corresponding to each virtual device. The limiting method of the packet transmission rate of each virtual device can be referred to the following description, and is not specifically described here.
Step S103, according to the priority of each virtual device, determining the sub-transmission rate threshold of each virtual device except the virtual device corresponding to the user-defined transmission rate threshold.
In this step, for a virtual device in which the customized transmission rate threshold does not exist in the network device, that is, a virtual device in which the customized transmission rate corresponding to the correspondence relationship is a null value, or a virtual device satisfying the first or second condition, the network device may determine, according to the priority of each virtual device, a sub-transmission rate threshold of each virtual device except the virtual device corresponding to the customized transmission rate threshold. That is, the transmission rate threshold of the virtual device satisfying the above-mentioned case one or case two is determined.
In this embodiment of the present application, the network device may store a corresponding relationship between each virtual device and a priority, as shown in table 2, where table 2 is a corresponding relationship between a virtual device and a priority provided in this embodiment of the present application.
TABLE 2
Virtual appliance Priority level
Device 1 First priority
Device 2 Second priority
Device 3 Third priority
Device 4 -
In the above table 2, the first priority is higher than the second priority, which is higher than the third priority, indicating that the priority is null. According to the correspondence shown in table 2, the network device may determine that the priority corresponding to the devices 1 to 3 is not null, that is, the above-mentioned case two or case four is satisfied, and determine that the priority corresponding to the device 4 is null, that is, the above-mentioned case one or case three is satisfied.
In this embodiment of the application, the level of the priority corresponding to each virtual device may include other levels besides the first priority, the second priority and the third priority, for example, a fourth priority with a priority lower than the third priority, and may be specifically set according to an actual situation and a user requirement. Here, the level of priority is not particularly limited.
In an optional embodiment, in the step S103, the determining, according to the priority of each virtual device, a sub-transmission rate threshold of each virtual device except the virtual device corresponding to the custom transmission rate threshold may specifically include the following steps.
Step S1031, setting the transmission rate threshold of the first virtual device in the network devices to a null value. The null value is used for indicating that the sub-transmission rate threshold of the first virtual device is infinite, and the first virtual device is a virtual device which is except for the virtual device corresponding to the self-defined transmission rate threshold and has an empty priority.
In this step, the virtual devices, which are not the virtual device corresponding to the customized transmission rate threshold and have an empty priority, in the network device are taken as the first virtual devices, that is, the virtual devices meeting the above condition one are taken as the first virtual devices. For each first virtual device in the network devices, the network device may set the transmission rate threshold for that first virtual device to a null value.
In this embodiment of the present application, the fact that the sub-transmission rate threshold of the virtual device is a null value means that the sub-transmission rate threshold of the virtual device is infinity, that is, the network device does not limit the transmission rate of the virtual device.
Step S1032 determines the sub-transmission rate threshold of each second virtual device except the virtual device corresponding to the user-defined transmission rate threshold according to the priority of each second virtual device in the network device and the correspondence between the pre-stored priority and the weight. The second virtual device is a virtual device except the first virtual device and the priority of the second virtual device is not null.
In this step, a virtual device, which is not the first virtual device and has a null priority, in the network device is taken as the second virtual device, that is, a virtual device satisfying the second or third condition is taken as the second virtual device. For each second virtual device in the network device except the virtual device corresponding to the customized transmission rate threshold, that is, each virtual device satisfying the second condition, the network device may determine the sub-transmission rate threshold of the second virtual device according to the priority of each second virtual device in the network device and the corresponding relationship between the pre-stored priority and the pre-stored weight. That is, the transmission rate threshold for each virtual device in the network device that satisfies case two is determined.
In the embodiment of the application, the sub-transmission rate threshold of the virtual equipment is determined according to the priority of the virtual equipment, so that the flexibility of determining the transmission rate threshold is effectively improved.
In an optional embodiment, for each second virtual device in the network device except the virtual device corresponding to the custom transmission rate threshold, a product between a weight corresponding to the priority of the second virtual device and the average transmission rate is determined as the sub-transmission rate threshold of the second virtual device. The average transmission rate is a ratio of a preset transmission rate threshold value and a weighted sum of the number of the second virtual devices corresponding to each priority in the network device, and the weighted sum is the sum of the product of the weight corresponding to each priority and the number of the second virtual devices corresponding to the priority.
The sub-transmission rate threshold of each second virtual device in the network device except the virtual device corresponding to the user-defined transmission rate threshold may specifically be represented as:
Figure BDA0002242751030000091
wherein, ViFor the sub-transmission rate threshold of the ith second virtual device in the network device other than the custom transmission rate threshold,
Figure BDA0002242751030000092
for the average transmission rate, P is a preset transmission rate threshold, n is the number of priority levels included in the network device, wjIs the weight corresponding to the jth priority, ajFor the jth priority in the network deviceA corresponding number of second virtual devices.
For convenience of understanding, the calculation of the transmission rate division threshold of the second virtual device is exemplified by the PPS value and the CPU occupancy rate, respectively.
Assume that the number of virtual devices in the network device is 5, which are device a, device B, device C, device D, and device E, respectively. Each virtual device does not have a corresponding self-defined transmission rate threshold, and the priority corresponding to each virtual device is a first priority, a second priority, a third priority, a second priority and a null value in sequence.
In an example, when the sub-transmission rate threshold is expressed by the PPS value, the preset transmission rate threshold is a total transmission rate threshold of the network device, such as 7000 packets/second (i.e., 7000 data packets are transmitted per second), the weight corresponding to the first priority is 3, the weight corresponding to the second priority is 2, and the weight corresponding to the third priority is 1.
Since the priority of device E is null, the network device may determine that the sub-transmission rate threshold of device E is null, i.e., the network device does not limit the transmission rate of device E packets.
According to the above calculation formula, the network device can determine the sub-transmission rate threshold V of the device a1
Figure BDA0002242751030000093
The network device may determine a split transmission rate threshold V for device B2
Figure BDA0002242751030000094
The network device may determine a split transmission rate threshold V for device C3
Figure BDA0002242751030000101
The network device may determine a split transmission rate threshold V for device D4
Figure BDA0002242751030000102
In example two, when the sub-transmission rate threshold is represented by the CPU occupancy, the preset transmission rate threshold is 100%, the weight corresponding to the first priority is 3, the weight corresponding to the second priority is 2, and the weight corresponding to the third priority is 1.
Since the priority of device E is null, the network device may determine that the sub-transmission rate threshold of device E is null, i.e., the network device does not limit the transmission rate of device E packets.
According to the above calculation formula, the network device can determine the sub-transmission rate threshold V of the device a1
Figure BDA0002242751030000103
The network device may determine a split transmission rate threshold V for device B2
Figure BDA0002242751030000104
The network device may determine a split transmission rate threshold V for device C3
Figure BDA0002242751030000105
The network device may determine a split transmission rate threshold V for device D4
Figure BDA0002242751030000106
In an optional embodiment, when the CPU occupancy rate is used to represent the sub-transmission rate threshold, since the network device also needs to consume a certain amount of CPU resources when limiting the packet transmission rate of the virtual device according to the sub-transmission rate threshold, in order to improve the accuracy of the determined sub-transmission rate threshold, when the network device calculates the sub-transmission rate threshold, an error caused by consumption of the CPU resources due to transmission rate limitation may be considered. For example, the predetermined transmission rate threshold may be set to a value of 80% or 70%, thereby reducing errors and improving the accuracy of the determined sub-transmission rate threshold.
In an alternative embodiment, the preset transmission rate threshold may be different values according to actual application scenarios. For example, when the divided transmission rate threshold is expressed as a PPS value, the preset transmission rate threshold may be a total transmission rate threshold of the network device. For another example, when the divided transfer rate threshold is expressed as the CPU occupancy, the above-mentioned preset transfer rate threshold may be 100%. Here, the preset transmission rate threshold is not particularly limited.
In another optional embodiment, when determining the sub-transmission rate threshold of each second virtual device except the virtual device corresponding to the custom transmission rate threshold, the sub-transmission rate threshold of each second virtual device except the virtual device corresponding to the custom transmission rate threshold may also be calculated in other manners.
For example, the network device may calculate the sub-transmission rate threshold of each second virtual device except the virtual device corresponding to the customized transmission rate threshold using the following formula:
Figure BDA0002242751030000111
where a is the number of second virtual devices included in the network device, that is, the number of virtual devices in the network device that satisfy the second and third cases.
In the embodiment of the present application, when the transmission rate threshold of the virtual device is determined by using the above calculation formula, the sub-transmission rate thresholds corresponding to the virtual devices of different priority levels can be effectively distinguished according to the priority levels.
In an optional embodiment, according to the method shown in fig. 1, an embodiment of the present application further provides a transmission rate determining method. As shown in fig. 2, fig. 2 is a second flowchart of a transmission rate determining method according to an embodiment of the present application. The method comprises the following steps.
Step S201, for each virtual device, determine whether the network device stores a custom transmission rate threshold corresponding to the virtual device. If yes, go to step S202. If not, go to step S204.
Step S202, determining the customized transmission rate threshold corresponding to the virtual device as a sub-transmission rate threshold corresponding to the virtual device, where the sub-transmission rate threshold is used to limit the transmission rate of the transmission data packet.
The above steps S201 to S202 are the same as the above steps S101 to S102.
Step S203, in the case that the network device includes the virtual device corresponding to the user-defined transmission rate threshold, determining the priority of the virtual device corresponding to the user-defined transmission rate threshold as a preset default priority.
In this step, in the case that the network device includes the virtual device corresponding to the user-defined transmission rate threshold, the network device may determine the virtual device corresponding to the user-defined transmission rate threshold as a preset default priority. The preset default priority may be any priority, for example, the preset default priority may be any one of the first priority, the second priority, and the third priority.
Step S204, according to the priority of each virtual device, determining the sub-transmission rate threshold of each virtual device except the virtual device corresponding to the user-defined transmission rate threshold.
Step S204 is the same as step S103.
For convenience of understanding, the method shown in fig. 2 is illustrated by taking virtual devices as the device a, the device B, the device C, the device D, and the device E, and the sub-transmission rate threshold is represented by the PPS value, and the default priority is the first priority.
It is assumed that the device a, the device B, and the device C have corresponding customized transmission rate thresholds set therein, the customized transmission rate thresholds are 1000 packets/sec, 2000 packets/sec, and 3000 packets/sec, respectively, the preset transmission rate threshold is 7000 packets/sec, and the priorities corresponding to the device a, the device B, the device C, the device D, and the device E are respectively a third priority, null, a third priority, and null.
After determining that the device a, the device B, and the device C have the corresponding custom transmission rate thresholds, the network device may determine that the sub-transmission rate threshold of the device a is 1000 packets/sec, the sub-transmission rate threshold of the device B is 2000 packets/sec, and the sub-transmission rate threshold of the device C is 3000 packets/sec.
When the network device determines that the device D does not have a corresponding custom transmission rate threshold and the priority of the device D is not null, the network device may adjust the priority of the device having the custom transmission rate threshold to the first priority, that is, adjust the priorities of the device a, the device B, and the device C to the first priority, and further determine the sub-transmission rate threshold of the device D according to the priority of each virtual device in the network device.
For example, the network device may calculate the transfer rate threshold V for device D using the above formulaD
Figure BDA0002242751030000121
When the network device determines that the device E does not have the corresponding self-defined transmission rate threshold and the priority of the device E is null, the network device may determine that the transmission rate threshold of the device E is null, that is, the network device does not limit the transmission rate of the data packet of the device E.
By adopting the method shown in fig. 2, the priority of the virtual device having the customized transmission rate threshold in the network device is adjusted, so that the sub-transmission rate threshold of the virtual device having no customized transmission rate threshold but having a non-empty priority is determined according to the priority of each virtual device in the network device, and the accuracy and flexibility of determining the sub-transmission rate threshold are improved.
In summary, with the method provided in the embodiment of the present application, a user-defined transmission rate threshold may be set for the virtual devices included in the network device, and the transmission rate threshold of the virtual device may also be set according to the priority of each virtual device. Specifically, for a virtual device with a customized transmission rate threshold, the customized transmission rate threshold is used as a sub-transmission rate threshold of the virtual device. For a network device without a virtual device with a customized transmission rate threshold, the sub-transmission rate threshold of the virtual device may be determined according to the priority of each virtual device. Compared with the existing method for determining the transmission rate threshold, the method for determining the transmission rate threshold comprehensively considers the user-defined transmission rate threshold and the priority, and further can limit the transmission rate of each virtual device in the network device for transmitting the data packet according to the determined transmission rate threshold, so that the influence of the virtual device with higher CPU resource occupation in the network device on the running state of other virtual devices is weakened, and the flexibility of determining the transmission rate threshold is improved under the condition that the running stability of the network device is improved.
In an optional embodiment, according to the transmission rate determining method shown in fig. 1, an embodiment of the present application further provides a transmission rate limiting method. As shown in fig. 3, fig. 3 is a schematic flowchart of a transmission rate limiting method according to an embodiment of the present application. The method comprises the following steps.
Step S301, determining a total transmission rate of the network device for transmitting the data packets and a sub-transmission rate of each virtual device for transmitting the data packets.
In this step, in the process of transmitting the data packet by the network device, the total transmission rate of the data packet transmitted by the network device at the current time and the sub-transmission rate of the data packet transmitted by each virtual device in the network device at the current time may be determined.
In this embodiment of the present application, the total transmission rate may be represented as a total PPS value of the network device transmitting the data packet, or may be a total CPU occupancy rate of the network device transmitting the data packet. The sub-transmission rate may be a PPS value corresponding to each virtual device transmitting a data packet, or may be a CPU occupancy rate corresponding to each virtual device transmitting a data packet.
Step S302, determine whether the total transmission rate is greater than the total transmission rate threshold. If yes, go to step S303.
In this step, the network device may compare the total transmission rate with a total transmission rate threshold to determine whether the total transmission rate is greater than the total transmission rate threshold.
In this embodiment of the present application, the total transmission rate threshold may be a user-defined total transmission rate threshold, or may be a default transmission rate threshold. That is, when there is a user-defined total transmission rate threshold, the total transmission threshold of the network device is the user-defined total transmission rate threshold. And when the total transmission rate threshold value customized by the user does not exist, the total transmission threshold value of the network equipment is the default transmission rate threshold value of the network equipment.
Step S303, determine whether the sub-transmission rate of each virtual device is greater than the sub-transmission rate threshold of the virtual device. If yes, go to step S304.
In this step, when the total transmission rate is greater than the total transmission rate threshold, the network device determines a sub-transmission rate threshold of each virtual device, where the sub-transmission rate threshold of each virtual device may be a custom transmission rate threshold of the virtual device, or may be determined according to a priority of each virtual device (i.e., the sub-transmission rate threshold determined by the method shown in fig. 1). The network device may compare the per-transmission rate of each virtual device to the per-transmission rate threshold of that virtual device to determine whether the per-transmission rate of each virtual device is greater than the per-transmission rate threshold of that virtual device.
In an optional embodiment, when the total transmission rate is not greater than the total transmission rate threshold, the network device may transmit the data packet normally, that is, the transmission rate of each virtual device in the network device is not limited.
Step S304, for each virtual device, if the transmission rate of the virtual device is greater than the sub-transmission rate threshold of the virtual device, limiting the transmission rate of the virtual device not to exceed the sub-transmission rate threshold of the virtual device.
In this step, for each virtual device, when determining that the transmission rate of the virtual device is greater than the sub-transmission rate threshold of the virtual device, the network device may determine that the CPU resource consumed by the virtual device for packet transmission is large. At this time, the network device may limit the transmission rate of the virtual device, that is, limit the transmission rate of the virtual device not to exceed the sub-transmission rate threshold of the virtual device.
In an optional embodiment, when limiting that the transmission rate of the virtual device does not exceed the sub-transmission rate threshold of the virtual device, the network device may perform packet loss processing on the data packets transmitted by the virtual device, that is, by reducing the total amount of the data packets transmitted by the virtual device, the transmission rate of the data packets transmitted by the virtual device in unit time does not exceed the sub-transmission rate of the virtual device. For example, the corresponding transmission rate of a certain virtual device is 1000 packets/sec, the sub-transmission rate of the virtual device at the current time is 1500 packets/sec, 1500>1000, and the virtual device may lose 500 ═ 1500-.
In another optional embodiment, the network device may buffer the data packets in a preset storage space, and when it is determined that the transmission rate of a certain virtual device needs to be limited, the network device may obtain a corresponding number of data packets from the buffer space according to a sub-transmission rate threshold of the virtual device to transmit, so as to limit the data packet transmission rate of the virtual device.
In an optional embodiment, for each virtual device, when determining that the transmission rate of the virtual device is not greater than the sub-transmission rate threshold of the virtual device, the network device may normally transmit the data packet, that is, the transmission rate of each virtual device whose network device transmission rate is not greater than the sub-transmission rate threshold is not limited.
By adopting the method shown in fig. 3, when the total transmission rate of the network device is greater than the total transmission rate threshold and the sub-transmission rate of the virtual device is greater than the sub-transmission rate threshold of the virtual device, the network device can limit the data packet transmission rate of the virtual device not to exceed the sub-transmission rate threshold of the virtual device, so that the CPU resource consumed by the virtual device weakens the influence of the virtual device with higher CPU resource occupation on the operating state of other virtual devices in the network device, and improves the operating stability of the network device.
In an optional embodiment, in the process of limiting the packet transmission rate of the virtual device, the network device may limit the packet transmission rate of the virtual device not to exceed the sub-transmission rate threshold of the virtual device based on a token bucket algorithm.
For convenience of understanding, the token bucket algorithm is described as an example of the speed limit processing procedure of the multicast or broadcast transmission mode. Assuming that the total transmission rate threshold of the network device corresponds to token bucket T, the network device includes 3 virtual devices, i.e., device 1, device 2, and device 3, and the transmission rate of each virtual device corresponds to token bucket T1, T2, and T3, respectively.
When a virtual device, such as device 3, in the network device receives a data packet to be transmitted, the network device may perform a duplication check on the data packet according to a virtual local area network tag (Vlan-tag) in the data packet, that is, check whether the data packet can pass through token bucket T and token bucket T3. When token bucket T passes the packet, the network device will transmit the packet normally regardless of whether token bucket T3 passes the packet. When token bucket T discards the packet but token bucket T3 passes the packet, the network device will transmit the packet normally. When token bucket T discards the packet and token bucket T3 discards the packet, the network device will discard the packet.
Based on the same inventive concept, according to the transmission rate determining method provided by the embodiment of the present application, the embodiment of the present application further provides a transmission rate determining device. As shown in fig. 4, fig. 4 is a schematic structural diagram of a transmission rate determining apparatus according to an embodiment of the present application. The apparatus includes the following modules.
The first determining module 401 is configured to determine, for each virtual device, whether a user-defined transmission rate threshold corresponding to the virtual device is stored in the network device.
A first determining module 402, configured to determine, when the determination result of the first determining module 401 is yes, the self-defined transmission rate threshold corresponding to the virtual device as a sub-transmission rate threshold corresponding to the virtual device, where the sub-transmission rate threshold is used to limit a transmission rate for transmitting a data packet.
A second determining module 403, configured to determine, according to the priority of each virtual device, a sub-transmission rate threshold of each virtual device except the virtual device corresponding to the user-defined transmission rate threshold.
Optionally, the sub-transfer rate threshold is expressed in PPS value, or the transfer rate threshold is expressed in CPU occupancy.
Optionally, the transmission rate determining apparatus may further include:
and the third determining module is used for determining the priority of the virtual equipment corresponding to the user-defined transmission rate threshold as a preset default priority under the condition that the network equipment comprises the virtual equipment corresponding to the user-defined transmission rate threshold.
Optionally, the second determining module 403 may be specifically configured to set a sub-transmission rate threshold of a first virtual device in the network device to be a null value, where the null value is used to indicate that the sub-transmission rate threshold of the first virtual device is infinity, and the first virtual device is a virtual device that is not a virtual device corresponding to the self-defined transmission rate threshold and has an empty priority;
and determining the sub-transmission rate threshold of each second virtual device except the virtual device corresponding to the self-defined transmission rate threshold according to the priority of each second virtual device in the network device and the corresponding relation between the pre-stored priority and the weight, wherein the second virtual device is a virtual device except the first virtual device and has a non-empty priority.
Optionally, the second determining module 403 may be specifically configured to determine, for each second virtual device in the network device except the virtual device corresponding to the customized transmission rate threshold, a product between a weight corresponding to the priority of the second virtual device and the average transmission rate as the sub-transmission rate threshold of the second virtual device. The average transmission rate is a ratio of a preset transmission rate threshold value and a weighted sum of the number of the second virtual devices corresponding to each priority in the network device, and the weighted sum is the sum of the product of the weight corresponding to each priority and the number of the second virtual devices corresponding to the priority.
Optionally, the transmission rate determining apparatus may further include:
a third determining module, configured to determine a total transmission rate at which the network device transmits the data packets, and a sub-transmission rate at which each virtual device transmits the data packets;
the second judging module is used for judging whether the total transmission rate is greater than the total transmission rate threshold value;
a third judging module, configured to, when a judgment result of the second judging module is yes, judge whether the sub-transmission rate of each virtual device is greater than a sub-transmission rate threshold of the virtual device, where the sub-transmission rate threshold of each virtual device is a self-defined transmission rate threshold of the virtual device, or is determined according to a priority of each virtual device;
and the limiting module is used for limiting the transmission rate of each virtual device not to exceed the sub-transmission rate threshold of the virtual device if the transmission rate of the virtual device is greater than the sub-transmission rate threshold of the virtual device.
By the device provided by the embodiment of the application, the user-defined transmission rate threshold value can be set for the virtual equipment included in the network equipment, and the transmission rate threshold value of the virtual equipment can be set according to the priority of each virtual equipment. Specifically, for a virtual device with a customized transmission rate threshold, the customized transmission rate threshold is used as a sub-transmission rate threshold of the virtual device. For a network device without a virtual device with a customized transmission rate threshold, the sub-transmission rate threshold of the virtual device may be determined according to the priority of each virtual device. Compared with the existing method for determining the transmission rate threshold, the method for determining the transmission rate threshold comprehensively considers the user-defined transmission rate threshold and the priority, and further can limit the transmission rate of each virtual device in the network device for transmitting the data packet according to the determined transmission rate threshold, so that the influence of the virtual device with higher CPU resource occupation in the network device on the running state of other virtual devices is weakened, and the flexibility of determining the transmission rate threshold is improved under the condition that the running stability of the network device is improved.
Based on the same inventive concept, according to the transmission rate determining method provided in the embodiment of the present application, the embodiment of the present application further provides a network device, as shown in fig. 5, including a processor 501 and a machine-readable storage medium 502, where the machine-readable storage medium 502 stores machine-executable instructions that can be executed by the processor 501.
In addition, as shown in fig. 5, the network device may further include: a communication interface 503 and a communication bus 504; the processor 501, the machine-readable storage medium 502, and the communication interface 503 are configured to complete communication with each other through the communication bus 504, and the communication interface 503 is configured to communicate with other devices through the network device.
The processor 501 is caused by machine executable instructions to implement the steps of:
judging whether a user-defined transmission rate threshold corresponding to each virtual device is stored in the network device or not;
if so, determining a self-defined transmission rate threshold corresponding to the virtual device as a sub-transmission rate threshold corresponding to the virtual device, wherein the sub-transmission rate threshold is used for limiting the transmission rate of the transmission data packet;
and determining the sub-transmission rate threshold of each virtual device except the virtual device corresponding to the user-defined transmission rate threshold according to the priority of each virtual device.
The communication bus 504 may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The communication bus 504 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
The machine-readable storage medium 502 may include a RAM (Random Access Memory) and may also include a NVM (Non-Volatile Memory), such as at least one disk Memory. Additionally, the machine-readable storage medium 502 may also be at least one memory device located remotely from the aforementioned processor.
The Processor 501 may be a general-purpose Processor, including a CPU, an NP (Network Processor), and the like; but also DSPs (Digital Signal Processing), ASICs (Application Specific Integrated circuits), FPGAs (Field Programmable Gate arrays) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
By the network device provided by the embodiment of the application, the user-defined transmission rate threshold value can be set for the virtual devices included in the network device, and the transmission rate threshold value of the virtual device can be set according to the priority of each virtual device. Specifically, for a virtual device with a customized transmission rate threshold, the customized transmission rate threshold is used as a sub-transmission rate threshold of the virtual device. For a network device without a virtual device with a customized transmission rate threshold, the sub-transmission rate threshold of the virtual device may be determined according to the priority of each virtual device. Compared with the existing method for determining the transmission rate threshold, the method for determining the transmission rate threshold comprehensively considers the user-defined transmission rate threshold and the priority, and further can limit the transmission rate of each virtual device in the network device for transmitting the data packet according to the determined transmission rate threshold, so that the influence of the virtual device with higher CPU resource occupation in the network device on the running state of other virtual devices is weakened, and the flexibility of determining the transmission rate threshold is improved under the condition that the running stability of the network device is improved.
Based on the same inventive concept, according to the transmission rate determining method provided in the embodiment of the present application, the embodiment of the present application further provides a machine-readable storage medium storing machine-executable instructions, which, when invoked and executed by a processor, cause the processor to: implementing any of the above described transmission rate determination method steps.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for embodiments such as the apparatus, the network device, and the machine-readable storage medium, since they are substantially similar to the method embodiments, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiments.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (10)

1. A transmission rate determining method applied to a network device, wherein the network device comprises a plurality of virtual devices, the method comprising:
for each virtual device, judging whether a user-defined transmission rate threshold corresponding to the virtual device is stored in the network device;
if so, determining a self-defined transmission rate threshold corresponding to the virtual device as a sub-transmission rate threshold corresponding to the virtual device, wherein the sub-transmission rate threshold is used for limiting the transmission rate of the transmission data packet;
and determining the sub-transmission rate threshold of each virtual device except the virtual device corresponding to the user-defined transmission rate threshold according to the priority of each virtual device.
2. The method of claim 1, wherein the fractional transmission rate threshold is expressed in Packets Per Second (PPS) or the transmission rate threshold is expressed in Central Processing Unit (CPU) occupancy.
3. The method of claim 1, wherein if the network device includes a virtual device corresponding to a custom transmission rate threshold, the method further comprises:
and determining the priority of the virtual equipment corresponding to the user-defined transmission rate threshold as a preset default priority.
4. The method according to any one of claims 1 to 3, wherein the step of determining the sub-transmission rate threshold of each virtual device other than the virtual device corresponding to the customized transmission rate threshold according to the priority of each virtual device comprises:
setting a sub-transmission rate threshold of a first virtual device in the network device to be a null value, where the null value is used to indicate that the sub-transmission rate threshold of the first virtual device is infinite, and the first virtual device is a virtual device whose priority is null except for a virtual device corresponding to a self-defined transmission rate threshold;
and determining the sub-transmission rate threshold of each second virtual device except the virtual device corresponding to the user-defined transmission rate threshold according to the priority of each second virtual device in the network device and the corresponding relation between the pre-stored priority and the weight, wherein the second virtual device is a virtual device except the first virtual device and has a non-empty priority.
5. The method according to claim 4, wherein the step of determining the sub-transmission rate threshold of each second virtual device except the virtual device corresponding to the customized transmission rate threshold according to the priority of the second virtual device except the first virtual device and the pre-stored correspondence between the priority and the weight comprises:
for each second virtual device except the virtual device corresponding to the user-defined transmission rate threshold in the network device, determining the product of the weight corresponding to the priority of the second virtual device and the average transmission rate as the sub-transmission rate threshold of the second virtual device; the average transmission rate is a ratio of a preset transmission rate threshold and a weighted sum of the number of the second virtual devices corresponding to each priority in the network device, and the weighted sum is the sum of products of the weight corresponding to each priority and the number of the second virtual devices corresponding to the priority.
6. The method of claim 1, further comprising:
determining the total transmission rate of the network equipment for transmitting the data packets and the sub-transmission rate of each virtual equipment for transmitting the data packets;
judging whether the total transmission rate is greater than a total transmission rate threshold value;
if the total transmission rate is greater than the total transmission rate threshold, judging whether the sub-transmission rate of each virtual device is greater than the sub-transmission rate threshold of the virtual device, wherein the sub-transmission rate threshold of each virtual device is the self-defined transmission rate threshold of the virtual device or is determined according to the priority of each virtual device;
for each virtual device, if the transmission rate of the virtual device is greater than the sub-transmission rate threshold of the virtual device, the transmission rate of the virtual device is limited not to exceed the sub-transmission rate threshold of the virtual device.
7. A transmission rate determining apparatus applied to a network device, the network device including a plurality of virtual devices, the apparatus comprising:
the first judging module is used for judging whether a user-defined transmission rate threshold corresponding to each virtual device is stored in the network device or not;
a first determining module, configured to determine, when a determination result of the first determining module is yes, a self-defined transmission rate threshold corresponding to the virtual device as a sub-transmission rate threshold corresponding to the virtual device, where the sub-transmission rate threshold is used to limit a transmission rate for transmitting a data packet;
and the second determining module is used for determining the sub-transmission rate threshold of each virtual device except the virtual device corresponding to the self-defined transmission rate threshold according to the priority of each virtual device.
8. The apparatus of claim 7, further comprising:
a third determining module, configured to determine a total transmission rate at which the network device transmits the data packets, and a sub-transmission rate at which each virtual device transmits the data packets;
the second judging module is used for judging whether the total transmission rate is greater than a total transmission rate threshold value or not;
a third judging module, configured to, when a judgment result of the second judging module is yes, judge whether the sub-transmission rate of each virtual device is greater than a sub-transmission rate threshold of the virtual device, where the sub-transmission rate threshold of each virtual device is a self-defined transmission rate threshold of the virtual device, or is determined according to a priority of each virtual device;
and the limiting module is used for limiting the transmission rate of each virtual device not to exceed the sub-transmission rate threshold of the virtual device if the transmission rate of the virtual device is greater than the sub-transmission rate threshold of the virtual device.
9. A network device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: carrying out the method steps of any one of claims 1 to 6.
10. A machine-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to: carrying out the method steps of any one of claims 1 to 6.
CN201911005829.XA 2019-10-22 2019-10-22 Transmission rate determining method, device, network equipment and storage medium Active CN110740100B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911005829.XA CN110740100B (en) 2019-10-22 2019-10-22 Transmission rate determining method, device, network equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911005829.XA CN110740100B (en) 2019-10-22 2019-10-22 Transmission rate determining method, device, network equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110740100A CN110740100A (en) 2020-01-31
CN110740100B true CN110740100B (en) 2022-04-22

Family

ID=69270776

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911005829.XA Active CN110740100B (en) 2019-10-22 2019-10-22 Transmission rate determining method, device, network equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110740100B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112419698B (en) * 2020-10-26 2022-05-17 浙江正泰仪器仪表有限责任公司 Electric energy meter data transmission method, system and device based on distribution line message specification
CN112231107B (en) * 2020-10-28 2023-06-30 新华三信息安全技术有限公司 Message speed limiting system, method, equipment and medium of firewall

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102270157A (en) * 2011-07-25 2011-12-07 浪潮(北京)电子信息产业有限公司 Server resource allocation system and method
CN102804164A (en) * 2010-03-16 2012-11-28 微软公司 Shaping virtual machine communication traffic
CN103532866A (en) * 2013-10-28 2014-01-22 曙光云计算技术有限公司 Flow control method and system for virtual machine
US8918784B1 (en) * 2010-12-21 2014-12-23 Amazon Technologies, Inc. Providing service quality levels through CPU scheduling
CN105589750A (en) * 2015-07-07 2016-05-18 杭州华三通信技术有限公司 CPU (Central Processing Unit) resource scheduling method and server
CN106302249A (en) * 2016-09-20 2017-01-04 国网江苏省电力公司信息通信分公司 A kind of Dynamic Bandwidth Allocation system and distribution method
CN106445690A (en) * 2016-10-17 2017-02-22 深圳市深信服电子科技有限公司 Dynamic scheduling method and device for virtual machine resource
CN106572032A (en) * 2016-09-28 2017-04-19 浪潮电子信息产业股份有限公司 Virtualized network priority implementation method
CN106845215A (en) * 2016-12-30 2017-06-13 北京瑞星信息技术股份有限公司 Based on safety protecting method and device under virtualized environment
CN106897136A (en) * 2017-02-28 2017-06-27 郑州云海信息技术有限公司 A kind of method for scheduling task and device
CN107370686A (en) * 2017-08-08 2017-11-21 郑州云海信息技术有限公司 A kind of flow control methods and device
CN108399117A (en) * 2018-02-28 2018-08-14 迈普通信技术股份有限公司 A kind of processor occupancy display methods and device
CN109710484A (en) * 2017-10-25 2019-05-03 中国电信股份有限公司 Method of adjustment, device and the computer readable storage medium of equipment energy consumption
CN109981478A (en) * 2019-02-18 2019-07-05 新华三信息安全技术有限公司 A kind of message processing method and device
CN110196770A (en) * 2018-07-13 2019-09-03 腾讯科技(深圳)有限公司 Cloud system internal storage data processing method, device, equipment and storage medium
CN110275760A (en) * 2019-06-27 2019-09-24 深圳市网心科技有限公司 Process based on fictitious host computer processor hangs up method and its relevant device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6810339B2 (en) * 2016-08-15 2021-01-06 富士通株式会社 Free band measurement program, free band measurement method, and free band measurement device

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102804164A (en) * 2010-03-16 2012-11-28 微软公司 Shaping virtual machine communication traffic
US8918784B1 (en) * 2010-12-21 2014-12-23 Amazon Technologies, Inc. Providing service quality levels through CPU scheduling
CN102270157A (en) * 2011-07-25 2011-12-07 浪潮(北京)电子信息产业有限公司 Server resource allocation system and method
CN103532866A (en) * 2013-10-28 2014-01-22 曙光云计算技术有限公司 Flow control method and system for virtual machine
CN105589750A (en) * 2015-07-07 2016-05-18 杭州华三通信技术有限公司 CPU (Central Processing Unit) resource scheduling method and server
CN106302249A (en) * 2016-09-20 2017-01-04 国网江苏省电力公司信息通信分公司 A kind of Dynamic Bandwidth Allocation system and distribution method
CN106572032A (en) * 2016-09-28 2017-04-19 浪潮电子信息产业股份有限公司 Virtualized network priority implementation method
CN106445690A (en) * 2016-10-17 2017-02-22 深圳市深信服电子科技有限公司 Dynamic scheduling method and device for virtual machine resource
CN106845215A (en) * 2016-12-30 2017-06-13 北京瑞星信息技术股份有限公司 Based on safety protecting method and device under virtualized environment
CN106897136A (en) * 2017-02-28 2017-06-27 郑州云海信息技术有限公司 A kind of method for scheduling task and device
CN107370686A (en) * 2017-08-08 2017-11-21 郑州云海信息技术有限公司 A kind of flow control methods and device
CN109710484A (en) * 2017-10-25 2019-05-03 中国电信股份有限公司 Method of adjustment, device and the computer readable storage medium of equipment energy consumption
CN108399117A (en) * 2018-02-28 2018-08-14 迈普通信技术股份有限公司 A kind of processor occupancy display methods and device
CN110196770A (en) * 2018-07-13 2019-09-03 腾讯科技(深圳)有限公司 Cloud system internal storage data processing method, device, equipment and storage medium
CN109981478A (en) * 2019-02-18 2019-07-05 新华三信息安全技术有限公司 A kind of message processing method and device
CN110275760A (en) * 2019-06-27 2019-09-24 深圳市网心科技有限公司 Process based on fictitious host computer processor hangs up method and its relevant device

Also Published As

Publication number Publication date
CN110740100A (en) 2020-01-31

Similar Documents

Publication Publication Date Title
US20210036959A1 (en) Traffic class arbitration based on priority and bandwidth allocation
US20190190832A1 (en) Load balancing systems, devices, and methods
US10757157B2 (en) Allocating limit to allowable end-to-end latency variation based on destination capability
CN110740100B (en) Transmission rate determining method, device, network equipment and storage medium
US11799803B2 (en) Packet processing method and apparatus, communications device, and switching circuit
CN107682279B (en) Time delay control method, time delay control device, storage medium and program product
JP2006254383A (en) Communication control system and method
US6732209B1 (en) Data rate division among a plurality of input queues
US20140211634A1 (en) Adaptive buffer allocation management
JP2008521323A (en) Provisions for fair transmission of communication time without using clear traffic specifications for wireless networks
CN110636109B (en) Node scheduling optimization method, server and computer readable storage medium
CN113645145A (en) Load balancing method and device, network equipment and computer readable storage medium
CN112269657B (en) Bandwidth balance control method and device for nodes in distributed storage system
WO2022121079A1 (en) Link aggregation method for traffic forwarding device and traffic forwarding device
CN107438015B (en) intelligent power communication network virtual resource mapping method and device
US20150131446A1 (en) Enabling virtual queues with qos and pfc support and strict priority scheduling
CN113890847B (en) Traffic forwarding method and device
CN113472591B (en) Method and device for determining service performance
CN108200185B (en) Method and device for realizing load balance
US20050223056A1 (en) Method and system for controlling dataflow to a central system from distributed systems
CN115175265A (en) Transmission path determination method and device, computer equipment and storage medium
KR102128417B1 (en) Multiple path priority routing methods for wireless sensor network and routing apparatus for performing the same
CN111800347A (en) Data scheduling method based on time sensitive network
CN113691517B (en) Communication management method, device, equipment and medium for bypass
CN117579543B (en) Data stream segmentation method, device, equipment and computer readable storage medium

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