CN103763218B - Internet bandwidth control method, device and storage medium - Google Patents

Internet bandwidth control method, device and storage medium Download PDF

Info

Publication number
CN103763218B
CN103763218B CN201410055102.3A CN201410055102A CN103763218B CN 103763218 B CN103763218 B CN 103763218B CN 201410055102 A CN201410055102 A CN 201410055102A CN 103763218 B CN103763218 B CN 103763218B
Authority
CN
China
Prior art keywords
bandwidth
control link
control
link
flow control
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
CN201410055102.3A
Other languages
Chinese (zh)
Other versions
CN103763218A (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.)
Legendsec Technology (Beijing) Co.,Ltd.
Secworld Information Technology Beijing Co Ltd
Original Assignee
Netshen Technology Beijing Co Ltd
Netshen Information Technology (beijing) 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 Netshen Technology Beijing Co Ltd, Netshen Information Technology (beijing) Co Ltd filed Critical Netshen Technology Beijing Co Ltd
Priority to CN201410055102.3A priority Critical patent/CN103763218B/en
Publication of CN103763218A publication Critical patent/CN103763218A/en
Application granted granted Critical
Publication of CN103763218B publication Critical patent/CN103763218B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an internet bandwidth control method, an internet bandwidth control device and a storage medium. The Internet bandwidth control method comprises the following steps: acquiring a first flow control link and a second flow control link of Internet flow control; a first flow control link and a second flow control link are connected in parallel to obtain a logic flow control link; respectively acquiring a bandwidth control strategy of a first flow control link and a second bandwidth control strategy of the flow control link; obtaining a bandwidth control strategy of the logic flow control link according to the bandwidth control strategy of the first flow control link and the bandwidth control strategy of the second flow control link; and performing bandwidth control by using the bandwidth control strategy of the logical flow control link. The invention solves the problem of more complexity in bandwidth configuration of a plurality of flow control links in the prior art, thereby achieving the effect of simplifying the bandwidth configuration of the plurality of flow control links.

Description

Internet bandwidth control method, device and storage medium
Technical Field
The invention relates to the field of internet, in particular to an internet bandwidth control method, an internet bandwidth control device and a storage medium.
Background
With the continuous development of network technologies, the demand of enterprises for bandwidth is rapidly increasing, and there is a high requirement for reliability, so that a single bandwidth of a single outlet cannot meet the requirement of a client for surfing the internet, so that general enterprises need to deploy at least two flow control links, various applications in the current network are continuously increased, the network use environment is complex, and bandwidth control strategies such as guaranteed bandwidth and maximum bandwidth of each flow control link need to be configured under the environment of multiple outlets to guarantee network connectivity and reasonable utilization of network resources.
For the above-mentioned multi-egress environment, the conventional method generally needs to deploy a plurality of flow control links for flow control, and therefore, bandwidth configuration needs to be performed on each deployed flow control link, so that bandwidth requirements of users can be met, but as the number of deployed flow control links increases, the method for performing bandwidth configuration on the plurality of flow control links becomes more and more complex.
Aiming at the problem that bandwidth configuration is complex when a plurality of flow control links are configured in the prior art, an effective solution is not provided at present.
Disclosure of Invention
The invention mainly aims to provide an internet bandwidth control method and an internet bandwidth control device, which are used for solving the problem that bandwidth configuration is complex when a plurality of flow control links are configured in the prior art.
To achieve the above object, according to one aspect of the present invention, there is provided an internet bandwidth control method. The Internet bandwidth control method comprises the following steps: acquiring a first flow control link and a second flow control link of Internet flow control; a logic flow control link is obtained by connecting the first flow control link and the second flow control link in parallel; respectively acquiring a bandwidth control strategy of the first traffic control link and a bandwidth control strategy of the second traffic control link, wherein the bandwidth control strategy of the first traffic control link is used for performing bandwidth control on the first traffic control link, and the bandwidth control strategy of the second traffic control link is used for performing bandwidth control on the second traffic control link; obtaining a bandwidth control strategy of the logical flow control link according to the bandwidth control strategy of the first flow control link and the bandwidth control strategy of the second flow control link, wherein the bandwidth control strategy of the logical flow control link is used for controlling the bandwidth of the logical flow control link; and performing bandwidth control by using the bandwidth control strategy of the logical flow control link.
Further, obtaining the bandwidth control policy of the logical traffic control link according to the bandwidth control policy of the first traffic control link and the bandwidth control policy of the second traffic control link includes: acquiring an uplink bandwidth control strategy in the bandwidth control strategy of the first traffic control link and an uplink bandwidth control strategy in the bandwidth control strategy of the second traffic control link; obtaining an uplink bandwidth control strategy of the logical flow control link according to an uplink bandwidth control strategy in the bandwidth control strategies of the first flow control link and an uplink bandwidth control strategy in the bandwidth control strategies of the second flow control link; acquiring a downlink bandwidth control strategy in the bandwidth control strategy of the first flow control link and a downlink bandwidth control strategy in the bandwidth control strategy of the second flow control link; and obtaining the downlink bandwidth control strategy of the logic flow control link according to the downlink bandwidth control strategy in the bandwidth control strategy of the first flow control link and the downlink bandwidth control strategy in the bandwidth control strategy of the second flow control link.
Further, the obtaining of the bandwidth control policy of the logical flow control link according to the bandwidth control policy of the first flow control link and the bandwidth control policy of the second flow control link includes: acquiring the uplink maximum bandwidth and the downlink maximum bandwidth of the first flow control link; acquiring the uplink maximum bandwidth and the downlink maximum bandwidth of the second flow control link; taking the sum of the uplink maximum bandwidth of the first traffic control link and the uplink maximum bandwidth of the second traffic control link as the uplink maximum bandwidth of the logical traffic control link; and taking the sum of the downlink maximum bandwidth of the first flow control link and the downlink maximum bandwidth of the second flow control link as the downlink maximum bandwidth of the logical flow control link.
Further, the obtaining of the bandwidth control policy of the logical flow control link according to the bandwidth control policy of the first flow control link and the bandwidth control policy of the second flow control link includes: acquiring an uplink guaranteed bandwidth and a downlink guaranteed bandwidth of the first flow control link; acquiring an uplink guaranteed bandwidth and a downlink guaranteed bandwidth of the second flow control link; comparing the sizes of the uplink guaranteed bandwidth of the first flow control link and the uplink guaranteed bandwidth of the second flow control link, and taking the larger uplink guaranteed bandwidth obtained by comparison as the uplink guaranteed bandwidth of the logical flow control link; and comparing the downlink guaranteed bandwidth of the first flow control link with the downlink guaranteed bandwidth of the second flow control link, and using the larger downlink guaranteed bandwidth obtained by comparison as the downlink guaranteed bandwidth of the logical flow control link.
Further, after obtaining the bandwidth control policy of the logical traffic control link according to the bandwidth control policy of the first traffic control link and the bandwidth control policy of the second traffic control link, the internet bandwidth control method further includes: acquiring a bandwidth control strategy of a data packet; transmitting the data packet using the first traffic control link; judging whether a bandwidth control strategy of a first flow control link of the first flow control link meets a bandwidth control strategy of the data packet or not; if the bandwidth control strategy of the first flow control link is judged to meet the bandwidth control strategy of the data packet, the data packet is sent out by using the first flow control link; and if the bandwidth control strategy of the first flow control link is judged not to meet the bandwidth control strategy of the data packet, sending the data packet to the second flow control link, judging whether the bandwidth control strategy of the second flow control link meets the bandwidth control strategy of the data packet, and sending the data packet by using the second flow control link when the bandwidth control strategy of the second flow control link is judged to meet the bandwidth control strategy of the data packet.
In order to achieve the above object, according to another aspect of the present invention, there is provided an internet bandwidth control apparatus. The internet bandwidth control apparatus according to the present invention includes: the first obtaining unit is used for obtaining a first flow control link and a second flow control link of the Internet flow control; the first determining unit is used for obtaining a logic flow control link by the parallel connection of the first flow control link and the second flow control link; a second obtaining unit, configured to obtain a bandwidth control policy of the first traffic control link and a bandwidth control policy of the second traffic control link, respectively, where the bandwidth control policy of the first traffic control link is used to perform bandwidth control on the first traffic control link, and the bandwidth control policy of the second traffic control link is used to perform bandwidth control on the second traffic control link; a second determining unit, configured to obtain a bandwidth control policy of the logical traffic control link according to the bandwidth control policy of the first traffic control link and the bandwidth control policy of the second traffic control link, where the bandwidth control policy of the logical traffic control link is used to control the bandwidth of the logical traffic control link; and a bandwidth control unit, configured to perform bandwidth control by using a bandwidth control policy of the logical flow control link.
Further, the second determination unit includes: a first obtaining module, configured to obtain an uplink bandwidth control policy in a bandwidth control policy of the first traffic control link and an uplink bandwidth control policy in a bandwidth control policy of the second traffic control link; a first determining module, configured to obtain an uplink bandwidth control policy of the logical traffic control link according to an uplink bandwidth control policy in the bandwidth control policies of the first traffic control link and an uplink bandwidth control policy in the bandwidth control policies of the second traffic control link; a second obtaining module, configured to obtain a downlink bandwidth control policy in a bandwidth control policy of the first traffic control link and a downlink bandwidth control policy in a bandwidth control policy of the second traffic control link; and a second determining module, configured to obtain a downlink bandwidth control policy of the logical traffic control link according to a downlink bandwidth control policy in the bandwidth control policy of the first traffic control link and a downlink bandwidth control policy in the bandwidth control policy of the second traffic control link.
Further, the bandwidth control policy of the first traffic control link includes an uplink maximum bandwidth and a downlink maximum bandwidth of the first traffic control link, the bandwidth control policy of the second traffic control link includes an uplink maximum bandwidth and a downlink maximum bandwidth of the second traffic control link, and the second determining unit includes: a first maximum bandwidth obtaining module, configured to obtain an uplink maximum bandwidth and a downlink maximum bandwidth of the first traffic control link; a second maximum bandwidth obtaining module, configured to obtain an uplink maximum bandwidth and a downlink maximum bandwidth of the second traffic control link; a first summation module, configured to take a sum of an uplink maximum bandwidth of the first traffic control link and an uplink maximum bandwidth of the second traffic control link as an uplink maximum bandwidth of the logical traffic control link; and a second summation module, configured to take a sum of the downlink maximum bandwidth of the first traffic control link and the downlink maximum bandwidth of the second traffic control link as the downlink maximum bandwidth of the logical traffic control link.
Further, the bandwidth control policy of the first traffic control link includes an uplink guaranteed bandwidth and a downlink guaranteed bandwidth of the first traffic control link, the bandwidth control policy of the second traffic control link includes an uplink guaranteed bandwidth and a downlink guaranteed bandwidth of the second traffic control link, and the second determining unit includes: a first guaranteed bandwidth obtaining module, configured to obtain an uplink guaranteed bandwidth and a downlink guaranteed bandwidth of the first traffic control link; a second guaranteed bandwidth acquiring module, configured to acquire an uplink guaranteed bandwidth and a downlink guaranteed bandwidth of the second traffic control link; a first comparing module, configured to compare the size of the uplink guaranteed bandwidth of the first traffic control link with the size of the uplink guaranteed bandwidth of the second traffic control link, and use the larger uplink guaranteed bandwidth obtained through the comparison as the uplink guaranteed bandwidth of the logical traffic control link; and the second comparison module is used for comparing the downlink guaranteed bandwidth of the first flow control link with the downlink guaranteed bandwidth of the second flow control link, and using the larger downlink guaranteed bandwidth obtained by comparison as the downlink guaranteed bandwidth of the logical flow control link.
Further, the interconnected network bandwidth control device further comprises: a third obtaining unit, configured to obtain a bandwidth control policy of a data packet after obtaining the bandwidth control policy of the logical traffic control link according to the bandwidth control policy of the first traffic control link and the bandwidth control policy of the second traffic control link; a transmission unit, configured to transmit the data packet by using the first traffic control link; a determining unit, configured to determine whether a bandwidth control policy of a first traffic control link of the first traffic control link satisfies a bandwidth control policy of the data packet; a first sending unit, configured to send the data packet by using the first traffic control link when it is determined that the bandwidth control policy of the first traffic control link satisfies the bandwidth control policy of the data packet; and a second sending unit, configured to send the data packet to the second traffic control link when it is determined that the bandwidth control policy of the first traffic control link does not satisfy the bandwidth control policy of the data packet, where the second sending unit includes: the judging module is used for judging whether the bandwidth control strategy of the second flow control link meets the bandwidth control strategy of the data packet or not; and the sending module is used for sending the data packet by using the second flow control link when the bandwidth control strategy of the second flow control link is judged to meet the bandwidth control strategy of the data packet.
In order to achieve the above object, according to one aspect of the present invention, there is provided a storage medium including a stored program, wherein a device in which the storage medium is located is controlled to perform the above internet bandwidth control method when the program is executed.
According to the invention, the first flow control link and the second flow control link are connected in parallel to obtain the logical flow control link, and the bandwidth control strategy of the logical flow control link is obtained according to the bandwidth control strategies of the first flow control link and the second flow control link, so that the bandwidth control strategy of the logical flow control link can carry out bandwidth control on the first flow control link and the second flow control link, the problem that in the prior art, bandwidth configuration is complex when a plurality of flow control links are subjected to bandwidth configuration is solved, and the effect of simplifying bandwidth configuration on the plurality of flow control links is achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart of an internet bandwidth control method according to a first embodiment of the present invention;
fig. 2 is a flowchart of an internet bandwidth control method according to a second embodiment of the present invention;
fig. 3 is a flowchart of an internet bandwidth control method according to a third embodiment of the present invention;
fig. 4 is a flowchart of an internet bandwidth control method according to a fourth embodiment of the present invention;
fig. 5 is a schematic view of an interconnected belt width control device according to a first embodiment of the present invention;
fig. 6 is a schematic view of an interconnected belt width control device according to a second embodiment of the present invention;
fig. 7 is a schematic view of an interconnected belt width control device according to a third embodiment of the present invention; and
fig. 8 is a schematic diagram of an interconnected belt width control device according to a fourth embodiment of the invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention provides an internet bandwidth control method
Fig. 1 is a flowchart of an internet bandwidth control method according to a first embodiment of the present invention. As shown in the figure, the internet bandwidth control method comprises the following steps:
step S102, a first flow control link and a second flow control link of Internet flow control are obtained.
The first flow control link and the second flow control link are both links for controlling the flow, and one user may need one or more flow control links to meet the flow requirement.
And step S104, connecting the first flow control link and the second flow control link in parallel to obtain a logic flow control link.
In order to facilitate the control of the bandwidth of the plurality of flow control links, the first flow control link and the second flow control link are connected in parallel, so that the plurality of flow control links are connected into one logical flow control link.
Step S106, a bandwidth control strategy of the first flow control link and a bandwidth control strategy of the second flow control link are respectively obtained, wherein the bandwidth control strategy of the first flow control link is used for carrying out bandwidth control on the first flow control link, and the bandwidth control strategy of the second flow control link is used for carrying out bandwidth control on the second flow control link.
The bandwidth control strategy of the first flow control link is executed through the first flow control link, the bandwidth control strategy of the second flow control link is executed through the second flow control link, the flow control strategies of the first flow control link and the second flow control link are not influenced mutually, and the respective bandwidth control strategies are independently executed through the first flow control link and the second flow control link respectively.
Step S108, obtaining a bandwidth control strategy of the logical flow control link according to the bandwidth control strategy of the first flow control link and the bandwidth control strategy of the second flow control link, wherein the bandwidth control strategy of the logical flow control link is used for controlling the bandwidth of the logical flow control link.
In order to ensure that the bandwidth control policy of the logical flow control link can meet the bandwidth requirements of all the flow control links in the logical flow control link, the bandwidth control policy of the logical flow control link is obtained according to the bandwidth control policies of all the logical flow control links in the logical flow control link, and the bandwidth control policy of the logical flow control link can perform bandwidth control on all the flow control links in the logical flow control link.
Step S110, performing bandwidth control by using the bandwidth control policy of the logical flow control link.
All the flow control links contained in the logical flow control link are subjected to bandwidth control according to the bandwidth control strategy of the logical flow control link, so that the bandwidth control strategy of one logical flow control link can perform bandwidth control on one or more flow control links.
According to the embodiment, the plurality of flow control links are connected in parallel to obtain the logical flow control link, and the bandwidth control strategy of the logical flow control link is obtained according to the bandwidth control strategy of the plurality of flow control links, so that the bandwidth control strategy of the logical flow control link can perform bandwidth control on the plurality of flow control links, the bandwidth strategies of the plurality of flow control links can be controlled only by setting the bandwidth strategy of the logical flow control link, and the effect of simplifying the configuration of the plurality of flow control links is achieved.
Further, obtaining the bandwidth control policy of the logical traffic control link according to the bandwidth control policy of the first traffic control link and the bandwidth control policy of the second traffic control link includes:
and acquiring an uplink bandwidth control strategy in the bandwidth control strategy of the first flow control link and an uplink bandwidth control strategy in the bandwidth control strategy of the second flow control link.
And obtaining the uplink bandwidth control strategy of the logic flow control link according to the uplink bandwidth control strategy in the bandwidth control strategy of the first flow control link and the uplink bandwidth control strategy in the bandwidth control strategy of the second flow control link.
And acquiring a downlink bandwidth control strategy in the bandwidth control strategy of the first flow control link and a downlink bandwidth control strategy in the bandwidth control strategy of the second flow control link.
And obtaining the downlink bandwidth control strategy of the logic flow control link according to the downlink bandwidth control strategy in the bandwidth control strategy of the first flow control link and the downlink bandwidth control strategy in the bandwidth control strategy of the second flow control link.
The uplink bandwidth is the speed of uploading data, and the downlink bandwidth is the speed of downloading data. The uplink bandwidth control strategy is used for controlling the speed of the data uploaded by the flow control link, the downlink bandwidth control strategy is used for controlling the speed of the data downloaded by the flow control link, and the bandwidth control of the flow control link is realized by controlling the uplink bandwidth and the downlink bandwidth.
When calculating the uplink bandwidth of the logical flow control link, the uplink bandwidth control strategy of the first flow control link and the uplink bandwidth control strategy of the second flow control link are used for obtaining the uplink bandwidth of the logical flow control link, and when calculating the downlink bandwidth of the logical flow control link, the downlink bandwidth control strategy of the first flow control link and the downlink bandwidth control strategy of the second flow control link are used for obtaining the downlink bandwidth of the logical flow control link.
Specifically, each uplink bandwidth includes a guaranteed bandwidth and a maximum bandwidth, each downlink bandwidth includes a guaranteed bandwidth and a maximum bandwidth, and how to determine the guaranteed bandwidth and the maximum bandwidth of the uplink bandwidth of the logical flow control link and how to determine the guaranteed bandwidth and the maximum bandwidth of the downlink bandwidth of the logical flow control link are shown in fig. 2 and fig. 3, respectively.
Fig. 2 is a flowchart of an internet bandwidth control method according to a second embodiment of the present invention. As shown in the figure, in the embodiment shown in the figure, which may be a preferred implementation manner of the embodiment shown in fig. 1, in the internet bandwidth control method, the bandwidth control policy of the first traffic control link includes an uplink maximum bandwidth and a downlink maximum bandwidth of the first traffic control link, the bandwidth control policy of the second traffic control link includes an uplink maximum bandwidth and a downlink maximum bandwidth of the second traffic control link, and obtaining the bandwidth control policy of the logical traffic control link according to the bandwidth control policy of the first traffic control link and the bandwidth control policy of the second traffic control link includes the following steps:
step S202, an uplink maximum bandwidth and a downlink maximum bandwidth of the first traffic control link are obtained.
Step S204, the uplink maximum bandwidth and the downlink maximum bandwidth of the second traffic control link are obtained.
Step S206, the sum of the uplink maximum bandwidth of the first traffic control link and the uplink maximum bandwidth of the second traffic control link is used as the uplink maximum bandwidth of the logical traffic control link.
Step S208, the sum of the downlink maximum bandwidth of the first traffic control link and the downlink maximum bandwidth of the second traffic control link is used as the downlink maximum bandwidth of the logical traffic control link.
The bandwidth control strategy of the first flow control link comprises an uplink bandwidth control strategy and a downlink bandwidth control strategy of the first flow control link, and the bandwidth control strategy of the second flow control link comprises an uplink bandwidth control strategy and a downlink bandwidth control strategy of the second flow control link.
The uplink bandwidth control strategy of the first flow control link comprises an uplink maximum bandwidth and an uplink guaranteed bandwidth of the first flow control link, and the downlink bandwidth control strategy of the first flow control link comprises a downlink maximum bandwidth and a downlink guaranteed bandwidth of the first flow control link.
The sum of the uplink maximum bandwidth of the first flow control link and the uplink maximum bandwidth of the second flow control link is used as the uplink maximum bandwidth of the logical flow control link, so that when the first flow control link and the second flow control link work simultaneously, the uplink bandwidth control strategy of the logical flow control link can meet the normal data uploading of the first flow control link and the second flow control link.
Similarly, the sum of the downlink maximum bandwidth of the first traffic control link and the downlink maximum bandwidth of the second traffic control link is used as the downlink maximum bandwidth of the logical traffic control link, so that when the first traffic control link and the second traffic control link work simultaneously, the downlink bandwidth control strategy of the logical traffic control link can meet the normal download data of the first traffic control link and the second traffic control link.
Taking the sum of the uplink maximum bandwidths of the first flow control link and the second flow control link as the uplink maximum bandwidth of the logic flow control link, taking the sum of the downlink maximum bandwidths of the first flow control link and the second flow control link as the downlink maximum bandwidth of the logic flow control link, thereby enabling the logical flow control link to achieve control of the maximum bandwidth of the logical flow control link, when the first flow control link and the second flow control link work simultaneously, the maximum bandwidth of the logic flow control link is ensured to meet the requirement of the first flow control link and the second flow control link for uploading data or downloading data, and the effect of controlling the bandwidth control strategies of a plurality of flow control links by the bandwidth control strategy of one logic flow control link is achieved, so that the configuration of the bandwidth control is simple and convenient.
Fig. 3 is a flowchart of an internet bandwidth control method according to a third embodiment of the present invention. As shown in the figure, in the embodiment shown in the figure, which may be a preferred implementation manner of the embodiment shown in fig. 1, in the internet bandwidth control method, a bandwidth control policy of a first traffic control link includes an uplink guaranteed bandwidth and a downlink guaranteed bandwidth of the first traffic control link, a bandwidth control policy of a second traffic control link includes an uplink guaranteed bandwidth and a downlink guaranteed bandwidth of the second traffic control link, and obtaining a bandwidth control policy of a logical traffic control link according to the bandwidth control policy of the first traffic control link and the bandwidth control policy of the second traffic control link includes the following steps:
step S302, an uplink guaranteed bandwidth and a downlink guaranteed bandwidth of the first traffic control link are obtained.
Step S304, an uplink guaranteed bandwidth and a downlink guaranteed bandwidth of the second traffic control link are obtained.
Step S306, comparing the uplink guaranteed bandwidth of the first traffic control link with the uplink guaranteed bandwidth of the second traffic control link, and using the larger uplink guaranteed bandwidth obtained by the comparison as the uplink guaranteed bandwidth of the logical traffic control link.
Step S308, comparing the downlink guaranteed bandwidth of the first traffic control link with the downlink guaranteed bandwidth of the second traffic control link, and using the larger downlink guaranteed bandwidth obtained by the comparison as the downlink guaranteed bandwidth of the logical traffic control link.
The guaranteed bandwidth is a minimum bandwidth capable of guaranteeing normal operation of the flow control link in the flow control link, and therefore, when one logical flow control link includes a plurality of flow control links, the guaranteed bandwidth of the logical flow control link needs to be greater than or equal to a maximum guaranteed bandwidth of the plurality of flow control links.
When the uplink guaranteed bandwidth of the logic flow control link is calculated, the uplink guaranteed bandwidth of the first flow control link and the uplink guaranteed bandwidth of the second flow control link are compared, and the larger uplink guaranteed bandwidth is used as the uplink guaranteed bandwidth of the logic flow control link.
Similarly, when calculating the downlink guaranteed bandwidth of the logical flow control link, the downlink guaranteed bandwidth of the first flow control link and the downlink guaranteed bandwidth of the second flow control link are compared, and the larger downlink guaranteed bandwidth is used as the downlink guaranteed bandwidth of the logical flow control link.
The larger uplink guaranteed bandwidth in the uplink guaranteed bandwidths of the two flow control links is used as the uplink guaranteed bandwidth of the logical flow control link, the larger downlink guaranteed bandwidth in the downlink guaranteed bandwidths of the two flow control links is used as the downlink guaranteed bandwidth of the logical flow control link, so that the guaranteed bandwidth of the logical flow control link can meet the requirement that the flow control links in the logical flow control link can operate according to respective strategies, and meanwhile, the bandwidth control of the logical flow control link is followed, the bandwidth control strategy of the logical flow control link is configured, the two flow control links on the logical flow control link are controlled by the bandwidth control strategy of the logical flow control link, and the configuration is more convenient and accurate.
It should be noted that, in the embodiments shown in fig. 2 and fig. 3, one logical flow control link includes two flow control links, and the internet bandwidth control method provided in the embodiment of the present invention is also applicable to a case where one logical flow control link includes a plurality of flow control links.
Fig. 4 is a flowchart of an internet bandwidth control method according to a fourth embodiment of the present invention. As shown in the figure, after obtaining the bandwidth control policy of the logical traffic control link according to the bandwidth control policy of the first traffic control link and the bandwidth control policy of the second traffic control link, the internet bandwidth control method further includes:
step S402, obtaining the bandwidth control strategy of the data packet.
Step S404, the data packet is transmitted by utilizing the first flow control link.
Step S406, determining whether the bandwidth control policy of the first traffic control link satisfies the bandwidth control policy of the data packet.
The transmission of the data packet needs to meet the requirement of the user on the flow control, and when the data packet is transmitted, the flow control links through which the data packet flows need to be compared one by one to judge whether the flow control link meets the requirement of the user on the flow control.
Because the first flow control link is connected in parallel with the second flow control link, the data packet can select the first flow control link for data transmission, and judge whether the bandwidth control strategy of the first flow control link meets the bandwidth control strategy of the data packet. Preferably, the data packet may select which flow control link to transmit the data packet through first according to the number sequence of the first flow control link and the second flow control link, and determine whether the passing flow control links meet the bandwidth control policy of the data packet one by one.
In step S408, if it is determined that the bandwidth control policy of the first traffic control link satisfies the bandwidth control policy of the data packet, the data packet is sent out by using the first traffic control link.
Step S410, if it is determined that the bandwidth control policy of the first traffic control link does not satisfy the bandwidth control policy of the data packet, sending the data packet to the second traffic control link, determining whether the bandwidth control policy of the second traffic control link satisfies the bandwidth control policy of the data packet, and sending the data packet by using the second traffic control link when it is determined that the bandwidth control policy of the second traffic control link satisfies the bandwidth control policy of the data packet.
If the bandwidth control strategy of the first flow control link is judged to meet the bandwidth control strategy of the data packet, the data packet is sent out by using the first flow control link, if the bandwidth control strategy of the first flow control link is judged not to meet the bandwidth control strategy of the data packet, whether the second flow control link meets the bandwidth control strategy of the data packet is judged, and if the bandwidth control strategy of the second flow control link meets the bandwidth control strategy of the data packet, the data packet is sent out by using the second flow control link.
When one logic flow control link comprises a plurality of flow control links, judging whether each flow control link meets the bandwidth control strategy of the data packet one by one until the flow control link meeting the bandwidth control strategy of the data packet is judged, and sending the data packet by using the flow control link meeting the bandwidth control strategy of the data packet.
Through the embodiment, when a data packet is transmitted, the bandwidth control policies of the multiple flow control links of one logical flow control link are not changed, but each flow control link follows the bandwidth control policy of the logical flow control link, so that the bandwidth control policy of one logical flow control link can perform bandwidth control on the multiple flow control links, and a user configures the bandwidth control policy of the logical flow control link to control the bandwidth control policies of the multiple flow control links, so that the configuration is simpler and more convenient.
The embodiment of the invention also provides an internet bandwidth control device.
The internet bandwidth control method according to the embodiment of the present invention may be executed by the internet bandwidth control apparatus according to the embodiment of the present invention, and the internet bandwidth control apparatus according to the embodiment of the present invention may also be used to execute the internet bandwidth control method according to the embodiment of the present invention.
Fig. 5 is a schematic diagram of an interconnected belt width control device according to a first embodiment of the invention. As shown in the figure, the internet bandwidth control apparatus includes: a first acquisition unit 10, a first determination unit 20, a second acquisition unit 30, a second determination unit 40 and a bandwidth control unit 50.
The first obtaining unit 10 is configured to obtain a first traffic control link and a second traffic control link of internet traffic control.
The first flow control link and the second flow control link are both links for controlling the flow, and one user may need one or more flow control links to meet the flow requirement.
The first determination unit 20 is configured to obtain a logical flow control link from the first flow control link and the second flow control link in parallel.
In order to facilitate the control of the bandwidth of the plurality of flow control links, the first flow control link and the second flow control link are connected in parallel, so that the plurality of flow control links are connected into one logical flow control link.
The second obtaining unit 30 is configured to obtain a bandwidth control policy of the first traffic control link and a bandwidth control policy of the second traffic control link, respectively, where the bandwidth control policy of the first traffic control link is used to perform bandwidth control on the first traffic control link, and the bandwidth control policy of the second traffic control link is used to perform bandwidth control on the second traffic control link.
The bandwidth control strategy of the first flow control link is executed through the first flow control link, the bandwidth control strategy of the second flow control link is executed through the second flow control link, the flow control strategies of the first flow control link and the second flow control link are not influenced mutually, and the respective bandwidth control strategies are independently executed through the first flow control link and the second flow control link respectively.
The second determining unit 40 is configured to obtain a bandwidth control policy of the logical traffic control link according to the bandwidth control policy of the first traffic control link and the bandwidth control policy of the second traffic control link, where the bandwidth control policy of the logical traffic control link is used to control the bandwidth of the logical traffic control link.
In order to ensure that the bandwidth control policy of the logical flow control link can meet the bandwidth requirements of all the flow control links in the logical flow control link, the bandwidth control policy of the logical flow control link is obtained according to the bandwidth control policies of all the logical flow control links in the logical flow control link, and the bandwidth control policy of the logical flow control link can perform bandwidth control on all the flow control links in the logical flow control link.
The bandwidth control unit 50 is configured to perform bandwidth control using a bandwidth control policy of the logical flow control link.
All the flow control links contained in the logical flow control link are subjected to bandwidth control according to the bandwidth control strategy of the logical flow control link, so that the bandwidth control strategy of one logical flow control link can perform bandwidth control on one or more flow control links.
According to the embodiment, the plurality of flow control links are connected in parallel to obtain the logical flow control link, and the bandwidth control strategy of the logical flow control link is obtained according to the bandwidth control strategy of the plurality of flow control links, so that the bandwidth control strategy of the logical flow control link can perform bandwidth control on the plurality of flow control links, the bandwidth strategies of the plurality of flow control links can be controlled only by setting the bandwidth strategy of the logical flow control link, and the effect of simplifying the configuration of the plurality of flow control links is achieved.
Further, the second determination unit includes:
the first obtaining module is configured to obtain an uplink bandwidth control policy in a bandwidth control policy of the first traffic control link and an uplink bandwidth control policy in a bandwidth control policy of the second traffic control link.
And the first determining module is used for obtaining the uplink bandwidth control strategy of the logic flow control link according to the uplink bandwidth control strategy in the bandwidth control strategy of the first flow control link and the uplink bandwidth control strategy in the bandwidth control strategy of the second flow control link.
And the second acquisition module is used for acquiring a downlink bandwidth control strategy in the bandwidth control strategy of the first flow control link and a downlink bandwidth control strategy in the bandwidth control strategy of the second flow control link. And
and the second determining module is used for obtaining the downlink bandwidth control strategy of the logic flow control link according to the downlink bandwidth control strategy in the bandwidth control strategy of the first flow control link and the downlink bandwidth control strategy in the bandwidth control strategy of the second flow control link.
The uplink bandwidth is the speed of uploading data, and the downlink bandwidth is the speed of downloading data. The uplink bandwidth control strategy is used for controlling the speed of the data uploaded by the flow control link, the downlink bandwidth control strategy is used for controlling the speed of the data downloaded by the flow control link, and the bandwidth control of the flow control link is realized by controlling the uplink bandwidth and the downlink bandwidth.
When calculating the uplink bandwidth of the logical flow control link, the uplink bandwidth control strategy of the first flow control link and the uplink bandwidth control strategy of the second flow control link are used for obtaining the uplink bandwidth of the logical flow control link, and when calculating the downlink bandwidth of the logical flow control link, the downlink bandwidth control strategy of the first flow control link and the downlink bandwidth control strategy of the second flow control link are used for obtaining the downlink bandwidth of the logical flow control link.
Specifically, each uplink bandwidth includes a guaranteed bandwidth and a maximum bandwidth, each downlink bandwidth includes a guaranteed bandwidth and a maximum bandwidth, and means for how to determine the guaranteed bandwidth and the maximum bandwidth of the uplink bandwidth of the logical flow control link and how to determine the guaranteed bandwidth and the maximum bandwidth of the downlink bandwidth of the logical flow control link are shown in fig. 6 and fig. 7, respectively.
Fig. 6 is a schematic diagram of an interconnected belt width control device according to a second embodiment of the invention. The embodiment shown in the figure may be taken as a preferred implementation of the embodiment shown in fig. 1, where the bandwidth control policy of the first traffic control link includes an uplink maximum bandwidth and a downlink maximum bandwidth of the first traffic control link, and the bandwidth control policy of the second traffic control link includes an uplink maximum bandwidth and a downlink maximum bandwidth of the second traffic control link, as shown in the figure, the internet bandwidth control apparatus includes a first obtaining unit 10, a first determining unit 20, a second obtaining unit 30, a second determining unit 40, and a bandwidth control unit 50, where the second determining unit 40 includes:
the first maximum bandwidth obtaining module 401 is configured to obtain an uplink maximum bandwidth and a downlink maximum bandwidth of the first traffic control link.
The second maximum bandwidth obtaining module 402 is configured to obtain an uplink maximum bandwidth and a downlink maximum bandwidth of the second traffic control link.
The first summing module 403 is configured to use the sum of the uplink maximum bandwidth of the first traffic control link and the uplink maximum bandwidth of the second traffic control link as the uplink maximum bandwidth of the logical traffic control link.
The second summing module 404 is configured to use the sum of the downlink maximum bandwidth of the first traffic control link and the downlink maximum bandwidth of the second traffic control link as the downlink maximum bandwidth of the logical traffic control link.
The bandwidth control strategy of the first flow control link comprises an uplink bandwidth control strategy and a downlink bandwidth control strategy of the first flow control link, and the bandwidth control strategy of the second flow control link comprises an uplink bandwidth control strategy and a downlink bandwidth control strategy of the second flow control link.
The uplink bandwidth control strategy of the first flow control link comprises an uplink maximum bandwidth and an uplink guaranteed bandwidth of the first flow control link, and the downlink bandwidth control strategy of the first flow control link comprises a downlink maximum bandwidth and a downlink guaranteed bandwidth of the first flow control link.
The sum of the uplink maximum bandwidth of the first flow control link and the uplink maximum bandwidth of the second flow control link is used as the uplink maximum bandwidth of the logical flow control link, so that when the first flow control link and the second flow control link work simultaneously, the uplink bandwidth control strategy of the logical flow control link can meet the normal data uploading of the first flow control link and the second flow control link.
Similarly, the sum of the downlink maximum bandwidth of the first traffic control link and the downlink maximum bandwidth of the second traffic control link is used as the downlink maximum bandwidth of the logical traffic control link, so that when the first traffic control link and the second traffic control link work simultaneously, the downlink bandwidth control strategy of the logical traffic control link can meet the normal download data of the first traffic control link and the second traffic control link.
Taking the sum of the uplink maximum bandwidths of the first flow control link and the second flow control link as the uplink maximum bandwidth of the logic flow control link, taking the sum of the downlink maximum bandwidths of the first flow control link and the second flow control link as the downlink maximum bandwidth of the logic flow control link, thereby enabling the logical flow control link to achieve control of the maximum bandwidth of the logical flow control link, when the first flow control link and the second flow control link work simultaneously, the maximum bandwidth of the logic flow control link is ensured to meet the requirement of the first flow control link and the second flow control link for uploading data or downloading data, and the effect of controlling the bandwidth control strategies of a plurality of flow control links by the bandwidth control strategy of one logic flow control link is achieved, so that the configuration of the bandwidth control is simple and convenient.
Fig. 7 is a schematic diagram of an interconnected belt width control device according to a third embodiment of the invention. The embodiment shown in the figure may be taken as a preferred implementation of the embodiment shown in fig. 1, where the bandwidth control policy of the first traffic control link includes an uplink guaranteed bandwidth and a downlink guaranteed bandwidth of the first traffic control link, and the bandwidth control policy of the second traffic control link includes an uplink guaranteed bandwidth and a downlink guaranteed bandwidth of the second traffic control link, as shown in the figure, the internet bandwidth control apparatus includes a first obtaining unit 10, a first determining unit 20, a second obtaining unit 30, a second determining unit 40, and a bandwidth control unit 50, where the second determining unit 40 includes:
the first guaranteed bandwidth acquiring module 405 is configured to acquire an uplink guaranteed bandwidth and a downlink guaranteed bandwidth of the first traffic control link.
The second guaranteed bandwidth obtaining module 406 is configured to obtain an uplink guaranteed bandwidth and a downlink guaranteed bandwidth of the second traffic control link.
The first comparing module 407 is configured to compare the size of the uplink guaranteed bandwidth of the first traffic control link and the size of the uplink guaranteed bandwidth of the second traffic control link, and use the larger uplink guaranteed bandwidth obtained through the comparison as the uplink guaranteed bandwidth of the logical traffic control link.
The second comparing module 408 is configured to compare the downlink guaranteed bandwidth of the first traffic control link with the downlink guaranteed bandwidth of the second traffic control link, and use the larger downlink guaranteed bandwidth obtained through the comparison as the downlink guaranteed bandwidth of the logical traffic control link.
The guaranteed bandwidth is a minimum bandwidth capable of guaranteeing normal operation of the flow control link in the flow control link, and therefore, when one logical flow control link includes a plurality of flow control links, the guaranteed bandwidth of the logical flow control link needs to be greater than or equal to a maximum guaranteed bandwidth of the plurality of flow control links.
When the uplink guaranteed bandwidth of the logic flow control link is calculated, the uplink guaranteed bandwidth of the first flow control link and the uplink guaranteed bandwidth of the second flow control link are compared, and the larger uplink guaranteed bandwidth is used as the uplink guaranteed bandwidth of the logic flow control link.
Similarly, when calculating the downlink guaranteed bandwidth of the logical flow control link, the downlink guaranteed bandwidth of the first flow control link and the downlink guaranteed bandwidth of the second flow control link are compared, and the larger downlink guaranteed bandwidth is used as the downlink guaranteed bandwidth of the logical flow control link.
The larger uplink guaranteed bandwidth in the uplink guaranteed bandwidths of the two flow control links is used as the uplink guaranteed bandwidth of the logical flow control link, the larger downlink guaranteed bandwidth in the downlink guaranteed bandwidths of the two flow control links is used as the downlink guaranteed bandwidth of the logical flow control link, so that the guaranteed bandwidth of the logical flow control link can meet the requirement that the flow control links in the logical flow control link can operate according to respective strategies, and meanwhile, the bandwidth control of the logical flow control link is followed, the bandwidth control strategy of the logical flow control link is configured, the two flow control links on the logical flow control link are controlled by the bandwidth control strategy of the logical flow control link, and the configuration is more convenient and accurate.
Fig. 8 is a schematic diagram of an interconnected belt width control device according to a fourth embodiment of the invention. As shown in the figure, the internet bandwidth control device includes a third acquiring unit 11, a transmitting unit 22, a judging unit 33, a first transmitting unit 44 and a second transmitting unit 55.
The third obtaining unit 11 is configured to obtain the bandwidth control policy of the data packet after obtaining the bandwidth control policy of the logical traffic control link according to the bandwidth control policy of the first traffic control link and the bandwidth control policy of the second traffic control link.
The transmission unit 22 is configured to transmit the data packet using the first traffic control link.
The judging unit 33 is configured to judge whether a bandwidth control policy of a first traffic control link of the first traffic control link satisfies a bandwidth control policy of a data packet.
The transmission of the data packet needs to meet the requirement of the user on the flow control, and when the data packet is transmitted, the flow control links through which the data packet flows need to be compared one by one to judge whether the flow control link meets the requirement of the user on the flow control.
Because the first flow control link is connected in parallel with the second flow control link, the data packet can select the first flow control link for data transmission, and judge whether the bandwidth control strategy of the first flow control link meets the bandwidth control strategy of the data packet. Preferably, the data packet may select which flow control link to transmit the data packet through first according to the number sequence of the first flow control link and the second flow control link, and determine whether the passing flow control links meet the bandwidth control policy of the data packet one by one.
The first sending unit 44 is configured to send the data packet by using the first traffic control link when it is determined that the bandwidth control policy of the first traffic control link satisfies the bandwidth control policy of the data packet. And
the second sending unit 55 is configured to send the data packet to the second traffic control link when it is determined that the bandwidth control policy of the first traffic control link does not meet the bandwidth control policy of the data packet, where the second sending unit includes: and the judging module is used for judging whether the bandwidth control strategy of the second flow control link meets the bandwidth control strategy of the data packet. And the sending module is used for sending the data packet by using the second flow control link when the bandwidth control strategy of the second flow control link is judged to meet the bandwidth control strategy of the data packet.
If the bandwidth control strategy of the first flow control link is judged to meet the bandwidth control strategy of the data packet, the data packet is sent out by using the first flow control link, if the bandwidth control strategy of the first flow control link is judged not to meet the bandwidth control strategy of the data packet, whether the second flow control link meets the bandwidth control strategy of the data packet is judged, and if the bandwidth control strategy of the second flow control link meets the bandwidth control strategy of the data packet, the data packet is sent out by using the second flow control link.
When one logic flow control link comprises a plurality of flow control links, judging whether each flow control link meets the bandwidth control strategy of the data packet one by one until the flow control link meeting the bandwidth control strategy of the data packet is judged, and sending the data packet by using the flow control link meeting the bandwidth control strategy of the data packet.
Through the embodiment, when a data packet is transmitted, the bandwidth control policies of the multiple flow control links of one logical flow control link are not changed, but each flow control link follows the bandwidth control policy of the logical flow control link, so that the bandwidth control policy of one logical flow control link can perform bandwidth control on the multiple flow control links, and a user configures the bandwidth control policy of the logical flow control link to control the bandwidth control policies of the multiple flow control links, so that the configuration is simpler and more convenient.
The embodiment of the invention also provides a computer storage medium. The computer storage medium may store a program for performing part or all of the steps of the above-described internet bandwidth control method.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (11)

1. An internet bandwidth control method, comprising:
acquiring a first flow control link and a second flow control link of Internet flow control;
a logic flow control link is obtained by connecting the first flow control link and the second flow control link in parallel;
respectively acquiring a bandwidth control strategy of the first traffic control link and a bandwidth control strategy of the second traffic control link, wherein the bandwidth control strategy of the first traffic control link is used for performing bandwidth control on the first traffic control link, and the bandwidth control strategy of the second traffic control link is used for performing bandwidth control on the second traffic control link;
obtaining a bandwidth control strategy of the logical flow control link according to the bandwidth control strategy of the first flow control link and the bandwidth control strategy of the second flow control link, wherein the bandwidth control strategy of the logical flow control link is used for controlling the bandwidth of the logical flow control link; and
and performing bandwidth control by using the bandwidth control strategy of the logic flow control link.
2. The internet bandwidth control method of claim 1, wherein obtaining the bandwidth control policy of the logical traffic control link according to the bandwidth control policy of the first traffic control link and the bandwidth control policy of the second traffic control link comprises:
acquiring an uplink bandwidth control strategy in the bandwidth control strategy of the first traffic control link and an uplink bandwidth control strategy in the bandwidth control strategy of the second traffic control link;
obtaining an uplink bandwidth control strategy of the logical flow control link according to an uplink bandwidth control strategy in the bandwidth control strategies of the first flow control link and an uplink bandwidth control strategy in the bandwidth control strategies of the second flow control link;
acquiring a downlink bandwidth control strategy in the bandwidth control strategy of the first flow control link and a downlink bandwidth control strategy in the bandwidth control strategy of the second flow control link; and
and obtaining the downlink bandwidth control strategy of the logic flow control link according to the downlink bandwidth control strategy in the bandwidth control strategy of the first flow control link and the downlink bandwidth control strategy in the bandwidth control strategy of the second flow control link.
3. The internet bandwidth control method according to claim 2, wherein the bandwidth control policy of the first traffic control link includes an uplink maximum bandwidth and a downlink maximum bandwidth of the first traffic control link, the bandwidth control policy of the second traffic control link includes an uplink maximum bandwidth and a downlink maximum bandwidth of the second traffic control link, and obtaining the bandwidth control policy of the logical traffic control link according to the bandwidth control policy of the first traffic control link and the bandwidth control policy of the second traffic control link includes:
acquiring the uplink maximum bandwidth and the downlink maximum bandwidth of the first flow control link;
acquiring the uplink maximum bandwidth and the downlink maximum bandwidth of the second flow control link;
taking the sum of the uplink maximum bandwidth of the first traffic control link and the uplink maximum bandwidth of the second traffic control link as the uplink maximum bandwidth of the logical traffic control link; and
and taking the sum of the downlink maximum bandwidth of the first flow control link and the downlink maximum bandwidth of the second flow control link as the downlink maximum bandwidth of the logic flow control link.
4. The internet bandwidth control method according to claim 2, wherein the bandwidth control policy of the first traffic control link includes an uplink guaranteed bandwidth and a downlink guaranteed bandwidth of the first traffic control link, the bandwidth control policy of the second traffic control link includes an uplink guaranteed bandwidth and a downlink guaranteed bandwidth of the second traffic control link, and obtaining the bandwidth control policy of the logical traffic control link according to the bandwidth control policy of the first traffic control link and the bandwidth control policy of the second traffic control link includes:
acquiring an uplink guaranteed bandwidth and a downlink guaranteed bandwidth of the first flow control link;
acquiring an uplink guaranteed bandwidth and a downlink guaranteed bandwidth of the second flow control link;
comparing the sizes of the uplink guaranteed bandwidth of the first flow control link and the uplink guaranteed bandwidth of the second flow control link, and taking the larger uplink guaranteed bandwidth obtained by comparison as the uplink guaranteed bandwidth of the logical flow control link; and
and comparing the downlink guaranteed bandwidth of the first flow control link with the downlink guaranteed bandwidth of the second flow control link, and taking the larger downlink guaranteed bandwidth obtained by comparison as the downlink guaranteed bandwidth of the logical flow control link.
5. The internet bandwidth control method according to claim 1, wherein after obtaining the bandwidth control policy of the logical traffic control link according to the bandwidth control policy of the first traffic control link and the bandwidth control policy of the second traffic control link, the internet bandwidth control method further comprises:
acquiring a bandwidth control strategy of a data packet;
transmitting the data packet using the first traffic control link;
judging whether a bandwidth control strategy of a first flow control link of the first flow control link meets a bandwidth control strategy of the data packet or not;
if the bandwidth control strategy of the first flow control link is judged to meet the bandwidth control strategy of the data packet, the data packet is sent out by using the first flow control link; and
if the bandwidth control strategy of the first flow control link is judged not to meet the bandwidth control strategy of the data packet, the data packet is sent to the second flow control link, whether the bandwidth control strategy of the second flow control link meets the bandwidth control strategy of the data packet or not is judged, and when the bandwidth control strategy of the second flow control link is judged to meet the bandwidth control strategy of the data packet, the data packet is sent by using the second flow control link.
6. An Internet bandwidth control device is characterized in that,
the first obtaining unit is used for obtaining a first flow control link and a second flow control link of the Internet flow control;
the first determining unit is used for obtaining a logic flow control link by the parallel connection of the first flow control link and the second flow control link;
a second obtaining unit, configured to obtain a bandwidth control policy of the first traffic control link and a bandwidth control policy of the second traffic control link, respectively, where the bandwidth control policy of the first traffic control link is used to perform bandwidth control on the first traffic control link, and the bandwidth control policy of the second traffic control link is used to perform bandwidth control on the second traffic control link;
a second determining unit, configured to obtain a bandwidth control policy of the logical traffic control link according to the bandwidth control policy of the first traffic control link and the bandwidth control policy of the second traffic control link, where the bandwidth control policy of the logical traffic control link is used to control the bandwidth of the logical traffic control link; and
and the bandwidth control unit is used for controlling the bandwidth by using the bandwidth control strategy of the logic flow control link.
7. The internet bandwidth control device according to claim 6, wherein the second determining unit includes:
a first obtaining module, configured to obtain an uplink bandwidth control policy in a bandwidth control policy of the first traffic control link and an uplink bandwidth control policy in a bandwidth control policy of the second traffic control link;
a first determining module, configured to obtain an uplink bandwidth control policy of the logical traffic control link according to an uplink bandwidth control policy in the bandwidth control policies of the first traffic control link and an uplink bandwidth control policy in the bandwidth control policies of the second traffic control link;
a second obtaining module, configured to obtain a downlink bandwidth control policy in a bandwidth control policy of the first traffic control link and a downlink bandwidth control policy in a bandwidth control policy of the second traffic control link; and
and the second determining module is used for obtaining the downlink bandwidth control strategy of the logical flow control link according to the downlink bandwidth control strategy in the bandwidth control strategy of the first flow control link and the downlink bandwidth control strategy in the bandwidth control strategy of the second flow control link.
8. The internet bandwidth control device according to claim 7, wherein the bandwidth control policy of the first traffic control link includes an uplink maximum bandwidth and a downlink maximum bandwidth of the first traffic control link, the bandwidth control policy of the second traffic control link includes an uplink maximum bandwidth and a downlink maximum bandwidth of the second traffic control link, and the second determination unit includes:
a first maximum bandwidth obtaining module, configured to obtain an uplink maximum bandwidth and a downlink maximum bandwidth of the first traffic control link;
a second maximum bandwidth obtaining module, configured to obtain an uplink maximum bandwidth and a downlink maximum bandwidth of the second traffic control link;
a first summation module, configured to take a sum of an uplink maximum bandwidth of the first traffic control link and an uplink maximum bandwidth of the second traffic control link as an uplink maximum bandwidth of the logical traffic control link; and
and the second summation module is used for taking the sum of the downlink maximum bandwidth of the first flow control link and the downlink maximum bandwidth of the second flow control link as the downlink maximum bandwidth of the logical flow control link.
9. The internet bandwidth control device according to claim 7, wherein the bandwidth control policy of the first traffic control link includes an uplink guaranteed bandwidth and a downlink guaranteed bandwidth of the first traffic control link, the bandwidth control policy of the second traffic control link includes an uplink guaranteed bandwidth and a downlink guaranteed bandwidth of the second traffic control link, and the second determining unit includes:
a first guaranteed bandwidth obtaining module, configured to obtain an uplink guaranteed bandwidth and a downlink guaranteed bandwidth of the first traffic control link;
a second guaranteed bandwidth acquiring module, configured to acquire an uplink guaranteed bandwidth and a downlink guaranteed bandwidth of the second traffic control link;
a first comparing module, configured to compare the size of the uplink guaranteed bandwidth of the first traffic control link with the size of the uplink guaranteed bandwidth of the second traffic control link, and use the larger uplink guaranteed bandwidth obtained through the comparison as the uplink guaranteed bandwidth of the logical traffic control link; and
and the second comparison module is used for comparing the downlink guaranteed bandwidth of the first flow control link with the downlink guaranteed bandwidth of the second flow control link, and using the larger downlink guaranteed bandwidth obtained by comparison as the downlink guaranteed bandwidth of the logical flow control link.
10. The internet bandwidth control device of claim 6, further comprising:
a third obtaining unit, configured to obtain a bandwidth control policy of a data packet after obtaining the bandwidth control policy of the logical traffic control link according to the bandwidth control policy of the first traffic control link and the bandwidth control policy of the second traffic control link;
a transmission unit, configured to transmit the data packet by using the first traffic control link;
a determining unit, configured to determine whether a bandwidth control policy of a first traffic control link of the first traffic control link satisfies a bandwidth control policy of the data packet;
a first sending unit, configured to send the data packet by using the first traffic control link when it is determined that the bandwidth control policy of the first traffic control link satisfies the bandwidth control policy of the data packet; and
a second sending unit, configured to send the data packet to the second traffic control link when it is determined that the bandwidth control policy of the first traffic control link does not meet the bandwidth control policy of the data packet, where the second sending unit includes: the judging module is used for judging whether the bandwidth control strategy of the second flow control link meets the bandwidth control strategy of the data packet or not; and the sending module is used for sending the data packet by using the second flow control link when the bandwidth control strategy of the second flow control link is judged to meet the bandwidth control strategy of the data packet.
11. A storage medium, comprising a stored program, wherein the program, when executed, controls an apparatus in which the storage medium is located to perform the internet bandwidth control method according to any one of claims 1 to 5.
CN201410055102.3A 2014-02-18 2014-02-18 Internet bandwidth control method, device and storage medium Active CN103763218B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410055102.3A CN103763218B (en) 2014-02-18 2014-02-18 Internet bandwidth control method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410055102.3A CN103763218B (en) 2014-02-18 2014-02-18 Internet bandwidth control method, device and storage medium

Publications (2)

Publication Number Publication Date
CN103763218A CN103763218A (en) 2014-04-30
CN103763218B true CN103763218B (en) 2020-01-21

Family

ID=50530380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410055102.3A Active CN103763218B (en) 2014-02-18 2014-02-18 Internet bandwidth control method, device and storage medium

Country Status (1)

Country Link
CN (1) CN103763218B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109275164B (en) * 2018-11-30 2023-03-21 广东美的制冷设备有限公司 Mesh network-based communication method and device and household appliance
CN114629841B (en) * 2020-11-27 2023-05-16 华为技术有限公司 Communication method, device and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1214815B1 (en) * 1999-09-21 2008-07-02 IPR Licensing, Inc. Dual mode subscriber unit for short range, high rate and long range, lower rate data communications
CN201805555U (en) * 2010-05-14 2011-04-20 中兴通讯股份有限公司 Dual-mode MT
CN102469529A (en) * 2010-11-12 2012-05-23 中兴通讯股份有限公司 Resource allocation method and multi-mode controller
CN102572962A (en) * 2011-05-26 2012-07-11 中兴通讯股份有限公司 Data transmitting method and device for multimode base station
CN102857978A (en) * 2011-06-30 2013-01-02 中兴通讯股份有限公司 Resource processing method and device
CN103037417A (en) * 2012-12-24 2013-04-10 北京邮电大学 Multi-mode terminal capable of automatically choosing network mode and choose method
CN103313331A (en) * 2012-03-09 2013-09-18 中兴通讯股份有限公司 System switching method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8671234B2 (en) * 2010-05-27 2014-03-11 Stmicroelectronics, Inc. Level shifting cable adaptor and chip system for use with dual-mode multi-media device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1214815B1 (en) * 1999-09-21 2008-07-02 IPR Licensing, Inc. Dual mode subscriber unit for short range, high rate and long range, lower rate data communications
CN201805555U (en) * 2010-05-14 2011-04-20 中兴通讯股份有限公司 Dual-mode MT
CN102469529A (en) * 2010-11-12 2012-05-23 中兴通讯股份有限公司 Resource allocation method and multi-mode controller
CN102572962A (en) * 2011-05-26 2012-07-11 中兴通讯股份有限公司 Data transmitting method and device for multimode base station
CN102857978A (en) * 2011-06-30 2013-01-02 中兴通讯股份有限公司 Resource processing method and device
CN103313331A (en) * 2012-03-09 2013-09-18 中兴通讯股份有限公司 System switching method and device
CN103037417A (en) * 2012-12-24 2013-04-10 北京邮电大学 Multi-mode terminal capable of automatically choosing network mode and choose method

Also Published As

Publication number Publication date
CN103763218A (en) 2014-04-30

Similar Documents

Publication Publication Date Title
CN103685373B (en) Data uploading device and data uploading method
CN109618373A (en) Link choosing method and relevant apparatus
US10735346B2 (en) Data block prioritization for internet of things payloads
CN105594257B (en) Method and system for transmitting and receiving data
EP3241319A1 (en) Systems and methods for sdt to interwork with nfv and sdn
CN108713309A (en) SD-WAN system, use method of SD-WAN system and related device
WO2015010539A3 (en) System and method for user controlled cost based network and path selection across multiple networks
CN109561124A (en) A kind of method, system and the terminal device of file transmission
CN104426758A (en) Transmission control system, device and method
CN109429243A (en) Monitor the methods, devices and systems of the network insertion state of distribution net equipment
CN104159259A (en) A wireless communication method and a wireless communication apparatus
US9722914B2 (en) Heterogeneous network system, network apparatus, and rendezvous path selection method thereof
CN106850424A (en) A kind of system of selection, the apparatus and system in IP layers of path
CN103763218B (en) Internet bandwidth control method, device and storage medium
CN105681225A (en) Network resource acquisition method and device
CN106161500A (en) The communication module of a kind of remote wireless control electric equipment and control method
CN107113790A (en) A kind of carrier polymerizing method and device
CN107733809A (en) A kind of VSM system messages forwarding port method to set up and device
CN111130820A (en) Cluster management method and device and computer system
JP6241691B2 (en) Wireless access method, apparatus and system
CN108683561A (en) A kind of station state detection method and device
US10454726B2 (en) System for increasing bandwidth available for data communication
CN104023045B (en) Data back up method and device
CN109347666A (en) A kind of automatic networking configuration method and system for wifi internet of things equipment
KR102087874B1 (en) Pilot setup method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 100044 2nd floor, building 1, yard 26, Xizhimenwai South Road, Xicheng District, Beijing

Patentee after: Qianxin Wangshen information technology (Beijing) Co.,Ltd.

Patentee after: Legendsec Technology (Beijing) Co.,Ltd.

Address before: 100085 1st floor, Section II, No.7 Kaifa Road, Shangdi Information Industry base, Haidian District, Beijing

Patentee before: LEGENDSEC INFORMATION TECHNOLOGY (BEIJING) Inc.

Patentee before: Legendsec Technology (Beijing) Co.,Ltd.