CN111010347A - Network flow control method and related device of cloud platform - Google Patents

Network flow control method and related device of cloud platform Download PDF

Info

Publication number
CN111010347A
CN111010347A CN201911208778.0A CN201911208778A CN111010347A CN 111010347 A CN111010347 A CN 111010347A CN 201911208778 A CN201911208778 A CN 201911208778A CN 111010347 A CN111010347 A CN 111010347A
Authority
CN
China
Prior art keywords
flow control
command
information
control information
network
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.)
Pending
Application number
CN201911208778.0A
Other languages
Chinese (zh)
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.)
Beijing Inspur Data Technology Co Ltd
Original Assignee
Beijing Inspur Data Technology 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 Beijing Inspur Data Technology Co Ltd filed Critical Beijing Inspur Data Technology Co Ltd
Priority to CN201911208778.0A priority Critical patent/CN111010347A/en
Publication of CN111010347A publication Critical patent/CN111010347A/en
Pending legal-status Critical Current

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The application discloses a network flow control method of a cloud platform, which comprises the following steps: the server acquires flow control information through a preset path; inquiring corresponding router information according to the flow control information; integrating the router information and the flow control information into a flow control command according to a command composition rule; and executing the flow control command so as to realize network flow control. The network flow control is realized by acquiring the flow control information, inquiring the router information, integrating the flow control information into a flow control command for flow control, and finally executing the flow control command, instead of setting by technicians one by one, so that the flexibility of the network flow control is improved. The application also discloses a network flow control device, a server and a computer readable storage medium of the cloud platform, which have the beneficial effects.

Description

Network flow control method and related device of cloud platform
Technical Field
The present application relates to the field of network control technologies, and in particular, to a network flow control method, a network flow control apparatus, a server, and a computer-readable storage medium for a cloud platform.
Background
The public cloud platform generally refers to a cloud computing platform opened by the public, the public cloud generally refers to a cloud which can be used and is provided by a third-party provider for a user, the public cloud can be generally used through the Internet and can be free or low in cost, and the core attribute of the public cloud is a shared resource service. Therefore, when managing the public cloud, resources of the public cloud platform need to be reasonably distributed so as to keep each user of the public cloud capable of well utilizing cloud service resources.
In a specific application, network resources among different cloud resources can be managed through a virtual router. The virtual router is actually the next namespace technology of linux, namely a network namespace. The name, i.e., the unique identifier, corresponds to the uuid assigned by the route in the cloud platform. Which are distributed over the network nodes. The virtual network card device is arranged under the virtual router and used for simulating the router to be connected with the port device of the external network, and the name of the port device corresponds to the uuid distributed in the cloud platform. It is known that it is also at a network node.
Therefore, virtual routers are typically used in public cloud platforms to control the network of each connected portal. In the prior art, technical personnel are required to operate the flow monitoring in the router for controlling the network in the virtual router, so that the flow control of the network with different IPs is realized. However, the threshold for setting is high, the flexibility of flow control is low, and network flow control cannot be performed on different IPs in real time. Moreover, because the number of users using the cloud platform is large, if network flow control is performed on each IP, the cost for setting independently is high. Therefore, in the prior art, batch network traffic control monitoring is usually performed, and finer network traffic control cannot be performed, which causes network resource waste and poor user experience.
Therefore, how to improve the flexibility of network traffic control is a key issue that those skilled in the art are concerned about.
Disclosure of Invention
The application aims to provide a network flow control method, a network flow control device, a server and a computer readable storage medium of a cloud platform, and the flexibility degree of network flow control is improved by acquiring flow control information, querying router information, integrating the router information into a flow control command for flow control, and finally executing the flow control command.
In order to solve the technical problem, the present application provides a network traffic control method for a cloud platform, including:
the server acquires flow control information through a preset path;
inquiring corresponding router information according to the flow control information;
integrating the router information and the flow control information into a flow control command according to a command composition rule;
and executing the flow control command so as to realize network flow control.
Optionally, the obtaining, by the server, the flow control information through a preset path includes:
and the server acquires the flow control information through a preset flow control interface.
Optionally, the method further includes:
after the router information is acquired, storing the flow control information and the router information into a network flow control table of a cloud platform database; marking the newly written flow control information and the router information in the network flow control table as the control information which is not applied;
correspondingly, integrating the router information and the flow control information into a flow control command according to a command composition rule, comprising:
inquiring the network flow control table according to a preset period to obtain all flow control information and router information marked as control information which is not applied;
and integrating the flow control information and the corresponding router information into the flow control command according to the command composition rule.
Optionally, integrating the router information and the flow control information into a flow control command according to a command composition rule, including:
combining the maximum bandwidth in the router information and the flow control information according to the command composition rule to obtain a root queue control command;
combining the router information and the filtering parameters in the flow control information according to the command composition rule to obtain a sub-queue control command;
and integrating the root queue control command and the sub-queue control command to obtain the flow control command.
The application also provides a network flow control device of the cloud platform, including:
the control information acquisition module is used for acquiring the flow control information through a preset path;
the router information acquisition module is used for inquiring corresponding router information according to the flow control information;
the command integration module is used for integrating the router information and the flow control information into a flow control command according to a command composition rule;
and the flow control module is used for executing the flow control command so as to realize network flow control.
Optionally, the control information obtaining module is specifically configured to obtain, by the server, the flow control information through a preset flow control interface.
Optionally, the method further includes:
the database storage module is used for storing the flow control information and the router information into a network flow control table of a cloud platform database after the router information is acquired; marking the newly written flow control information and the router information in the network flow control table as the control information which is not applied;
correspondingly, the command integration module includes:
the database query unit is used for querying the network flow control table according to a preset period to obtain all flow control information and router information marked as control information which is not applied;
and the control command integration unit is used for integrating the flow control information and the corresponding router information into the flow control command according to the command composition rule.
Optionally, the command integration module includes:
a root queue command combination, configured to combine the maximum bandwidth in the router information and the flow control information according to the command composition rule, to obtain a root queue control command;
the sub-queue command combination is used for combining the router information and the filtering parameters in the flow control information according to the command composition rule to obtain a sub-queue control command;
and the command integration unit is used for integrating the root queue control command and the sub-queue control command to obtain the flow control command.
The present application further provides a server, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the network traffic control method as described above when executing the computer program.
The present application also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the network traffic control method as described above.
The application provides a network flow control method of a cloud platform, which comprises the following steps: the server acquires flow control information through a preset path; inquiring corresponding router information according to the flow control information; integrating the router information and the flow control information into a flow control command according to a command composition rule; and executing the flow control command so as to realize network flow control.
The method comprises the steps of obtaining flow control information through a preset path, inquiring router information corresponding to a network port needing flow control according to the flow control information, namely determining a router needing flow control, integrating the router information and the flow control information into a flow control command according to a command composition rule, and finally executing the flow control command to realize flow control setting of the corresponding router and further realize network flow control, wherein technical personnel do not configure the routers one by one, configuration efficiency is improved, and the flexibility of router configuration is also improved.
The application further provides a network flow control device, a server and a computer readable storage medium of the cloud platform, which have the beneficial effects, and are not repeated herein.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a network traffic control method of a cloud platform according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a network flow control device of a cloud platform according to an embodiment of the present disclosure.
Detailed Description
The core of the application is to provide a network flow control method, a network flow control device, a server and a computer readable storage medium of a cloud platform, and the network flow control is realized by acquiring flow control information, querying router information, integrating the flow control information into a flow control command for flow control, and finally executing the flow control command, rather than setting by technicians one, so that the flexibility degree of network flow control is improved.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, 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 some embodiments of the present application, but not all 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.
In the prior art, network control in a virtual router requires a technician to operate flow monitoring in the router, so as to realize network flow control of different IPs. However, the threshold for setting is high, the flexibility of flow control is low, and network flow control cannot be performed on different IPs in real time. Moreover, because the number of users using the cloud platform is large, if network flow control is performed on each IP, the cost for setting independently is high. Therefore, in the prior art, batch network traffic control monitoring is usually performed, and finer network traffic control cannot be performed, which causes network resource waste and poor user experience.
Therefore, the application provides a network flow control method of a cloud platform, which obtains flow control information through a preset path, then inquires router information corresponding to a network port needing flow control according to the flow control information, namely, determines a router needing flow control, then integrates the router information and the flow control information into a flow control command according to a command composition rule, and finally executes the flow control command to realize flow control setting of the corresponding router, so that network flow control is realized, instead of a technical person configuring the routers one by one, configuration efficiency is improved, and flexibility of router configuration is also improved.
Referring to fig. 1, fig. 1 is a flowchart of a network traffic control method of a cloud platform according to an embodiment of the present disclosure.
In this embodiment, the method may include:
s101, a server acquires flow control information through a preset path;
this step is intended to acquire flow control information. Generally, in the prior art, a technician manually inputs control parameters to be set into a server for configuration. In order to realize automatic network traffic management of the server, automatic configuration is mainly performed, so that the server directly acquires flow control information for performing network management configuration.
Further, in this step, the flow control information is obtained through a preset path. The preset path may be a flow control interface preset by the server, and the user, the client, or another server transmits corresponding flow control information to the interface so that the service acquires the flow control information. Or the flow control information pre-stored in the server in advance may be directly acquired from the storage medium. But also flow control information that is transferred through other storage media. It is to be understood that the manner of acquiring the flow control information in this step is not exclusive and is not limited herein.
Optionally, this step may include:
and the server acquires the flow control information through a preset flow control interface.
Therefore, in the alternative scheme, the flow control information is mainly acquired through a preset interface. It is conceivable that the flow control information may be directly sent to the flow control interface when configuring the network flow control, rather than being set by a technician one by one. Because the threshold and difficulty of configuring the network control are reduced, the flow control information sent to the flow control interface includes the flexible IP and the bandwidth value thereof.
S102, inquiring corresponding router information according to the flow control information;
on the basis of S101, this step is intended to find the corresponding router information according to the flow control information. In the cloud platform, each independent host is connected to a network through a router, and the router is generally a virtual router. As long as the router information of the device or the virtual router corresponding to the IP address is determined, the configuration operation of flow control can be performed on the virtual router. Therefore, in this step, the corresponding router information is queried according to the flow control information. And in particular to routers and connected network devices based on resilient IP queries therein.
S103, integrating the router information and the flow control information into a flow control command according to a command composition rule;
on the basis of S102, this step is intended to integrate the router information and the flow control information into a flow control command according to the command composition rule. That is, the corresponding flow control commands are automatically generated for configuring the virtual router, rather than having a technician manually configure the virtual router.
Specifically, the present invention mainly controls network traffic in a virtual router by using TCs. The TC is a Traffic Control (Traffic Control) suite in the Linux operating system, is used for flow Control of the Linux kernel, and realizes flow Control mainly by establishing a queue at an output port.
Further, in order to improve the capability of controlling the network traffic through the traffic control command in this embodiment, the network traffic control improves the efficiency and the utilization rate of network allocation. The flow control command may be constructed in a CBQ manner. Among them, CBQ is an abbreviation for Class Based queuing. The method can realize rich connection sharing class structures, and has the capacity of limiting the bandwidth and the capacity of managing the bandwidth priority. The bandwidth limitation is done by calculating the idle time of the connection. The criteria for the computation of idle time are the frequency of packet dequeue events and the bandwidth of the underlying connection (data link layer).
Specifically, based on the CBQ, the flow control command is not a single instruction, but a command cluster composed of multiple instructions. The instructions are combined in a mode of realizing a root queue and a sub queue through the rule of CBQ.
Therefore, the process of integrating the flow control command in this step may include:
combining the maximum bandwidth in the router information and the flow control information according to a command composition rule to obtain a root queue control command;
combining the filtering parameters in the router information and the flow control information according to a command composition rule to obtain a sub-queue control command;
and integrating the root queue control command and the sub-queue control command to obtain a flow control command.
In addition, the flow control information and the router information acquired in this embodiment may be stored in separate databases, so as to ensure safe storage of data.
Specifically, the step may include:
after router information is acquired, storing the flow control information and the router information into a network flow control table of a cloud platform database; marking the newly written flow control information and the router information in the network flow control table as the control information which is not applied;
correspondingly, integrating the router information and the flow control information into a flow control command according to a command composition rule, comprising:
inquiring a network flow control table according to a preset period to obtain all flow control information and router information marked as control information which is not applied;
and integrating the flow control information and the corresponding router information into a flow control command according to the command composition rule.
And S104, executing the flow control command so as to realize network flow control.
On the basis of S103, this step is intended to execute the flow control command so as to implement network flow control. Wherein the corresponding virtual router is configured.
In summary, in this embodiment, flow control information is obtained through a preset path, router information corresponding to a port requiring flow control is queried according to the flow control information, that is, a router requiring flow control is determined, the router information and the flow control information are integrated into a flow control command according to a command composition rule, and finally the flow control command is executed, so that flow control setting of a corresponding router is realized, and network flow control is further realized, instead of a technical person configuring routers one by one, which improves configuration efficiency and also improves flexibility of router configuration.
The network traffic control method for the cloud platform provided by the present application is further described below by another specific embodiment.
In this embodiment, the method may include:
step 1, a server acquires flow control information through a preset flow control interface;
step 2, inquiring corresponding router information according to the flow control information, and recording the router information and the flow control information into an elastic IP qos table of cloud platform data; and marked as not applied;
step 3, inquiring the cloud platform database according to a preset period, and acquiring all the router information and flow control information which are not applied according to the marks;
step 4, assembling the router information and the flow control information into a TC control rule according to the command composition rule;
and step 5, executing TC control rules so as to realize network flow control.
In a specific application scenario, the above steps may be respectively executed in network nodes of a public cloud management platform and a cloud platform cluster.
Specifically, the public cloud management platform provides an API for setting QoS of the flexible IP, when a user purchases, expands and contracts bandwidth for the flexible IP, a platform service management program calls the API, and the incoming parameters include: the flexible IP and its bandwidth value. The logic of the API to process the request is: inquiring uuid (r) of the virtual router to which the elastic IP (i) belongs and uuid (g) of the network equipment under the virtual router bound by the elastic IP according to the elastic IP, and recording three parameters of i, r and g, the bandwidth value and whether the parameters are applied (the default is no) into an 'elastic IP qos table' of the cloud platform database.
On the other side, a "flexible IP qos rule synchronization program" runs in a daemon manner in a network node of the cloud platform cluster, and is used for regularly querying a "flexible IP qos table" of the cloud platform database, taking out all records of the "flexible IP", "virtual router", "network device", and "bandwidth value" according to whether the "flexible IP qos rule synchronization program" is applied or not, and assembling the records into a TC rule according to a "network name space" and a "command rule of TC and CBQ" mentioned in the "description of professional terms", that is, integrating flow control information and router information into a flow control command according to a command composition rule.
The network namespace refers to an independent network protocol stack and various contained devices and resources. The network to which the host corresponds is the root namespace under which various sub-namespaces may be created. The sub-namespaces are kept in network isolation from the root namespace, and one purpose of the sub-namespaces is to use virtual routers in a virtual network of a cloud computing platform. The "network namespace" property that needs to be noted:
devices under a network namespace may be created/configured using ip link/addr/route, tc/branch/bridge/iptables.
The prefix "ip netns exec < network namespace >" is added to indicate that network devices under a certain network namespace are added, configured, or the "tc/iptables/route rule" is valid under a certain network namespace. If not prefixed, then by default, the operation is performed under the root network namespace. For example, in the technical solution in this embodiment, a rule is applied to the network device in the virtual route, and the form of the rule is "ip netns exec { virtual route uuid } tc".
The control command rule for limiting the bandwidth occupied by each IP on a certain network device using the TC tool and CBQ is as follows:
first, a tc root queue is created for a network device (e.g: qg-xxx), with the maximum bandwidth used by all traffic being 1024M.
Examples are as follows:
tc qdisc add dev qg-59c3ef7c-7e root handle 1:cbq avpkt1000bandwidth1024Mbit。
the role of this command is to create root queue 1 on network device (devqg-59 c3ef7c-7 e): the network bandwidth is limited by CBQ, total bandwidth is 1024M, and average size of data packets is 1000 bytes.
The total bandwidth size can be adjusted properly according to the sum of the network bandwidths of all the resilient IPs borne by the network device. Such a rule allows only one on a network device. Subsequent rules for single resilient IP-limited traffic are all with this queue as the parent queue.
Then, add tc filters and classification rules for the target resilient IP, including but not limited to the following command forms:
tc filter add dev qg-59c3ef7c-7e parent 1:protocol ip prio 16u32match ip src 172.24.4.227flowid 1:4227;
the command has the function of defining TC filter, matching network flow according to the elastic IP, and marking the flow id of the command as 1: { four digits after IP }, parent queue is 1.
tc class add dev qg-59c3ef7c-7e parent 1:classid 1:4227cbq rate 2Mbitallot 1500prio 5bounded isolated;
The role of this command is to define a TC class that is mainly limited to its bandwidth size (rate2Mbit) and is associated with the above-mentioned filter rule by flowid. The combined use of the two has the effect of allocating a fixed bandwidth for a certain flexible IP.
tc qdisc add dev qg-59c3ef7c-7e parent 1:4227sfq perturb 10;
The command is used for defining a qdisc (queueingdiscipline queuing rule) algorithm used in all the flows corresponding to a certain flow. Here sfq, shorthand for Stochastic Fairness Queueing. It sequences the flow according to the session (corresponding to each TCP connection or UDP flow, there may be more than one network application inside the cloud host corresponding to a certain elastic IP to perform the outbound session communication), and then circularly sends the data packet of each session.
It can be seen that, in this embodiment, flow control information is obtained through a preset path, router information corresponding to a port requiring flow control is queried according to the flow control information, that is, a router requiring flow control is determined, the router information and the flow control information are integrated into a flow control command according to a command composition rule, and finally the flow control command is executed, so that flow control setting of a corresponding router is realized, and network flow control is further realized, instead of a technician configuring routers one by one, which improves configuration efficiency and also improves flexibility of router configuration.
In the following, a network flow control device of a cloud platform provided in an embodiment of the present application is introduced, and a network flow control device of a cloud platform described below and a network flow control method of a cloud platform described above may be referred to correspondingly.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a network flow control device of a cloud platform according to an embodiment of the present disclosure.
In this embodiment, the apparatus may include:
a control information obtaining module 100, configured to obtain flow control information through a preset path;
a router information obtaining module 200, configured to query corresponding router information according to the flow control information;
a command integration module 300, configured to integrate the router information and the flow control information into a flow control command according to a command composition rule;
and a flow control module 400, configured to execute the flow control command to implement network flow control.
Optionally, the control information obtaining module 100 is specifically configured to obtain, by the server, the flow control information through a preset flow control interface.
Optionally, the apparatus may further include:
the database storage module is used for storing the flow control information and the router information into a network flow control table of the cloud platform database after the router information is acquired; marking the newly written flow control information and the router information in the network flow control table as the control information which is not applied;
accordingly, the command integration module 300 may include:
the database query unit is used for querying the network flow control table according to a preset period to obtain all the flow control information and the router information which are marked as the control information which is not applied;
and the control command integration unit is used for integrating the flow control information and the corresponding router information into the flow control command according to the command composition rule.
Optionally, the command integration module 300 may include:
the root queue command combination is used for combining the maximum bandwidth in the router information and the flow control information according to a command composition rule to obtain a root queue control command;
the sub-queue command combination is used for combining the filtering parameters in the router information and the flow control information according to the command composition rule to obtain a sub-queue control command;
and the command integration unit is used for integrating the root queue control command and the sub-queue control command to obtain the flow control command.
An embodiment of the present application further provides a server, including:
a memory for storing a computer program;
a processor for implementing the steps of the network traffic control method according to the above embodiments when executing the computer program.
The embodiments of the present application also provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the network traffic control method according to the above embodiments are implemented.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The network flow control method, the network flow control device, the server and the computer readable storage medium of the cloud platform provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.

Claims (10)

1. A network flow control method of a cloud platform is characterized by comprising the following steps:
the server acquires flow control information through a preset path;
inquiring corresponding router information according to the flow control information;
integrating the router information and the flow control information into a flow control command according to a command composition rule;
and executing the flow control command so as to realize network flow control.
2. The method according to claim 1, wherein the step of acquiring, by the server, the flow control information through the preset path includes:
and the server acquires the flow control information through a preset flow control interface.
3. The method of claim 1, further comprising:
after the router information is acquired, storing the flow control information and the router information into a network flow control table of a cloud platform database; marking the newly written flow control information and the router information in the network flow control table as the control information which is not applied;
correspondingly, integrating the router information and the flow control information into a flow control command according to a command composition rule, comprising:
inquiring the network flow control table according to a preset period to obtain all flow control information and router information marked as control information which is not applied;
and integrating the flow control information and the corresponding router information into the flow control command according to the command composition rule.
4. The method of claim 1, wherein integrating the router information and the traffic control information into a traffic control command according to a command composition rule comprises:
combining the maximum bandwidth in the router information and the flow control information according to the command composition rule to obtain a root queue control command;
combining the router information and the filtering parameters in the flow control information according to the command composition rule to obtain a sub-queue control command;
and integrating the root queue control command and the sub-queue control command to obtain the flow control command.
5. A network flow control apparatus of a cloud platform, comprising:
the control information acquisition module is used for acquiring the flow control information through a preset path;
the router information acquisition module is used for inquiring corresponding router information according to the flow control information;
the command integration module is used for integrating the router information and the flow control information into a flow control command according to a command composition rule;
and the flow control module is used for executing the flow control command so as to realize network flow control.
6. The device according to claim 5, wherein the control information obtaining module is specifically configured to obtain, by the server, the flow control information through a preset flow control interface.
7. The network flow control device of claim 5, further comprising:
the database storage module is used for storing the flow control information and the router information into a network flow control table of a cloud platform database after the router information is acquired; marking the newly written flow control information and the router information in the network flow control table as the control information which is not applied;
correspondingly, the command integration module includes:
the database query unit is used for querying the network flow control table according to a preset period to obtain all flow control information and router information marked as control information which is not applied;
and the control command integration unit is used for integrating the flow control information and the corresponding router information into the flow control command according to the command composition rule.
8. The network flow control device of claim 5, wherein the command integration module comprises:
a root queue command combination, configured to combine the maximum bandwidth in the router information and the flow control information according to the command composition rule, to obtain a root queue control command;
the sub-queue command combination is used for combining the router information and the filtering parameters in the flow control information according to the command composition rule to obtain a sub-queue control command;
and the command integration unit is used for integrating the root queue control command and the sub-queue control command to obtain the flow control command.
9. A server, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the network traffic control method according to any of claims 1 to 4 when executing said computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the network traffic control method according to any one of claims 1 to 4.
CN201911208778.0A 2019-11-30 2019-11-30 Network flow control method and related device of cloud platform Pending CN111010347A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911208778.0A CN111010347A (en) 2019-11-30 2019-11-30 Network flow control method and related device of cloud platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911208778.0A CN111010347A (en) 2019-11-30 2019-11-30 Network flow control method and related device of cloud platform

Publications (1)

Publication Number Publication Date
CN111010347A true CN111010347A (en) 2020-04-14

Family

ID=70112790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911208778.0A Pending CN111010347A (en) 2019-11-30 2019-11-30 Network flow control method and related device of cloud platform

Country Status (1)

Country Link
CN (1) CN111010347A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111628906A (en) * 2020-05-11 2020-09-04 紫光云技术有限公司 Method for carrying out flow statistics and monitoring on IP of bullet-supplying public network

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801636A (en) * 2012-09-05 2012-11-28 成都国腾实业集团有限公司 Method for limiting bandwidth of cloud hosting network of cloud computing platform
CN105471765A (en) * 2015-12-22 2016-04-06 国云科技股份有限公司 Virtual machine extranet bandwidth limitation method for cloud platform
CN105681125A (en) * 2015-12-28 2016-06-15 国云科技股份有限公司 Method for counting traffic of virtual machine extranet of cloud platform
US20170054641A1 (en) * 2015-08-20 2017-02-23 International Business Machines Corporation Predictive network traffic management
CN107135234A (en) * 2017-07-03 2017-09-05 福建六壬网安股份有限公司 The method and apparatus that a kind of data traffic monitors control
CN110087261A (en) * 2019-04-28 2019-08-02 电子科技大学 A kind of enterprise-level WLAN flow control methods based on OpenWrt
CN110266593A (en) * 2019-07-15 2019-09-20 上海仪电(集团)有限公司中央研究院 A kind of adaptive routing switching cloud network system based on traffic monitoring

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801636A (en) * 2012-09-05 2012-11-28 成都国腾实业集团有限公司 Method for limiting bandwidth of cloud hosting network of cloud computing platform
US20170054641A1 (en) * 2015-08-20 2017-02-23 International Business Machines Corporation Predictive network traffic management
CN105471765A (en) * 2015-12-22 2016-04-06 国云科技股份有限公司 Virtual machine extranet bandwidth limitation method for cloud platform
CN105681125A (en) * 2015-12-28 2016-06-15 国云科技股份有限公司 Method for counting traffic of virtual machine extranet of cloud platform
CN107135234A (en) * 2017-07-03 2017-09-05 福建六壬网安股份有限公司 The method and apparatus that a kind of data traffic monitors control
CN110087261A (en) * 2019-04-28 2019-08-02 电子科技大学 A kind of enterprise-level WLAN flow control methods based on OpenWrt
CN110266593A (en) * 2019-07-15 2019-09-20 上海仪电(集团)有限公司中央研究院 A kind of adaptive routing switching cloud network system based on traffic monitoring

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111628906A (en) * 2020-05-11 2020-09-04 紫光云技术有限公司 Method for carrying out flow statistics and monitoring on IP of bullet-supplying public network
CN111628906B (en) * 2020-05-11 2023-05-09 紫光云技术有限公司 Method for carrying out flow statistics and monitoring on elastic public network IP

Similar Documents

Publication Publication Date Title
WO2018058579A1 (en) Method for managing network slice and management unit
JP4983599B2 (en) Information system management device
US9917729B2 (en) Methods, systems, and computer readable media for multi-layer orchestration in software defined networks (SDNs)
WO2017114342A1 (en) Control of packet of virtual machine
KR101880407B1 (en) Resource management method, host, and endpoint
US20100095017A1 (en) Scalable and dynamic quality of service control
WO2020024413A1 (en) Method for controlling deployment of cloud computing platform, server, and storage medium
JP2015525549A (en) Service process control method and network device
US20230110415A1 (en) Dynamic connection capacity management
US10193768B2 (en) System for generating a virtualized network function
WO2018045992A1 (en) Address management method and apparatus
WO2014183574A1 (en) Computer node deployment method, processing node, controller, and system
JP7003876B2 (en) Communication system and communication method
CN111585815A (en) Port data acquisition method and device
US9900804B2 (en) Method and device for processing to share network resources, and method, device and system for sharing network resources
CN111615128A (en) Multi-access edge computing method, platform and system
CN101860454B (en) Network performance data processing method and device thereof
CN114025000B (en) Method, device, equipment and storage medium for establishing network access relationship
CN111010347A (en) Network flow control method and related device of cloud platform
CN111970149B (en) Shared bandwidth implementation method based on hardware firewall QOS
JP2009003625A (en) Field apparatus
Zhang et al. Lark: Bringing network awareness to high throughput computing
KR20210016802A (en) Method for optimizing flow table for network service based on server-client in software defined networking environment and sdn switch thereofor
CN116566830A (en) Network configuration method, device, system, edge equipment and storage medium
US20050125516A1 (en) Method and apparatus for managing configuration of a network

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200414

RJ01 Rejection of invention patent application after publication