CN114257515B - Bandwidth secondary scheduling method and device - Google Patents
Bandwidth secondary scheduling method and device Download PDFInfo
- Publication number
- CN114257515B CN114257515B CN202111568937.5A CN202111568937A CN114257515B CN 114257515 B CN114257515 B CN 114257515B CN 202111568937 A CN202111568937 A CN 202111568937A CN 114257515 B CN114257515 B CN 114257515B
- Authority
- CN
- China
- Prior art keywords
- network resource
- bandwidth
- ratio
- network
- lowest
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000012544 monitoring process Methods 0.000 claims abstract description 66
- 238000013468 resource allocation Methods 0.000 claims abstract description 28
- 230000008569 process Effects 0.000 abstract description 8
- 230000005540 biological transmission Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012163 sequencing technique Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0896—Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
- H04L43/0882—Utilisation of link capacity
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a bandwidth secondary scheduling method and device. Wherein the method comprises the following steps: acquiring network resource occupation conditions and network resource bandwidth values; generating network resource occupation types according to the network resource occupation conditions; the network bandwidth is split evenly according to the network resource bandwidth value and the network resource occupation type, and split network resource allocation information is obtained; allocating half of the idle bandwidth value in the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio, and continuously monitoring the two network resources with the highest bandwidth ratio and the lowest bandwidth ratio within a preset period time to obtain a monitoring result; and according to the monitoring result, the rest idle bandwidth of the network resource with the lowest bandwidth ratio is fully allocated to the bandwidth of the network resource with the highest bandwidth ratio. The invention solves the technical problems that the network scheduling process in the prior art only carries out the allocation of the network resources according to the bandwidth proportion or the network resource weight value in different network resources and the situation of combining the network bandwidth proportion according to the specific situation of the network resources can not be realized.
Description
Technical Field
The invention relates to the field of network resource allocation, in particular to a bandwidth secondary scheduling method and device.
Background
Along with the continuous development of intelligent science and technology, intelligent equipment is increasingly used in life, work and study of people, and the quality of life of people is improved and the learning and working efficiency of people is increased by using intelligent science and technology means.
When the bandwidth adjustment or scheduling of the network resources is generally performed, the analysis and the sequencing of the priority or the network transmission quality are adopted for the network bandwidth, and the network resources are allocated according to the sequencing of various network resources, so that the technical effect that part of the network resources can be guaranteed in priority is ensured. However, in the network scheduling process in the prior art, the network resources are allocated only according to the bandwidth ratio or the network resource weight value in different network resources, the allocated network resources are often adjusted at one time, whether the network with priority or bandwidth ratio is guaranteed by the most basic network service cannot be considered according to actual conditions, and whether secondary network resource scheduling is performed or not cannot be jointly judged according to the specific conditions of the network resources and the condition of network bandwidth ratio.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a bandwidth secondary scheduling method and device, which at least solve the technical problems that the network scheduling process in the prior art only carries out the allocation of network resources according to the bandwidth proportion or the network resource weight value in different network resources and the situation of combining the network bandwidth proportion according to the specific situation of the network resources cannot be achieved.
According to an aspect of the embodiment of the present invention, there is provided a bandwidth secondary scheduling method, including: acquiring network resource occupation conditions and network resource bandwidth values; generating a network resource occupation type according to the network resource occupation condition, wherein the network resource occupation type comprises: network resource types, number of network resource types; the network bandwidth is split evenly according to the network resource bandwidth value and the network resource occupation type, so as to obtain split network resource allocation information, wherein the splitting evenly through the network resource occupation type comprises the following steps: the network resource bandwidth values are divided averagely according to the network resource type number, and the divided bandwidths are distributed to each network resource; allocating half of the idle bandwidth value in the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio, and continuously monitoring the two network resources with the highest bandwidth ratio and the lowest bandwidth ratio within a preset period time to obtain a monitoring result; and according to the monitoring result, the rest idle bandwidth of the network resource with the lowest bandwidth ratio is fully allocated to the bandwidth of the network resource with the highest bandwidth ratio.
Optionally, the splitting is performed on average according to the network resource bandwidth value and the network resource occupation type, so as to obtain split network resource allocation information, where the splitting performed on average by the network resource occupation type includes: after the network resource bandwidth values are divided averagely according to the network resource category number and the divided bandwidths are distributed to each network resource, the method further comprises: and acquiring the bandwidth ratio of each network resource according to the network resource allocation information, wherein the bandwidth ratio is the use ratio of each network resource in the bandwidth allocated by the current network resource.
Optionally, allocating half of the idle bandwidth value in the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio, and continuously monitoring the two network resources with the highest bandwidth ratio and the lowest bandwidth ratio within a preset period time, so as to obtain a monitoring result, wherein the method further comprises: and judging the network resource with the lowest bandwidth ratio according to the monitoring result and the network resource type, and generating a bandwidth ratio adjustment scheme through a preset resource judgment model.
Optionally, the allocating the rest idle bandwidth of the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio according to the monitoring result includes: and when the monitoring of the network resource with the lowest bandwidth ratio does not raise the bandwidth ratio in the preset time, the rest idle bandwidth of the network resource with the lowest bandwidth ratio is fully allocated to the bandwidth of the network resource with the highest bandwidth ratio according to the bandwidth ratio adjustment scheme.
According to another aspect of the embodiment of the present invention, there is also provided a bandwidth secondary scheduling apparatus, including: the acquisition module is used for acquiring the network resource occupation condition and the network resource bandwidth value; the generating module is configured to generate a network resource occupation type according to the network resource occupation situation, where the network resource occupation type includes: network resource types, number of network resource types; the splitting module is configured to perform average splitting on the network bandwidth according to the network resource bandwidth value and the network resource occupation type, so as to obtain split network resource allocation information, where performing average splitting through the network resource occupation type includes: the network resource bandwidth values are divided averagely according to the network resource type number, and the divided bandwidths are distributed to each network resource; the allocation module is used for allocating half of the idle bandwidth value in the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio, and continuously monitoring the two network resources with the highest bandwidth ratio and the lowest bandwidth ratio within the preset period time to obtain a monitoring result; and the allocation module is used for fully allocating the residual idle bandwidth of the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio according to the monitoring result.
Optionally, the apparatus further includes: and the acquisition module is further used for acquiring the bandwidth duty ratio of each network resource according to the network resource allocation information, wherein the bandwidth duty ratio is the use ratio of each network resource in the bandwidth allocated by the current network resource.
Optionally, the apparatus further includes: and the judging module is used for judging the network resource with the lowest bandwidth occupation ratio according to the monitoring result and the network resource type, and generating a bandwidth occupation ratio adjusting scheme through a preset resource judging model.
Optionally, the allocation module includes: and the allocation unit is used for fully allocating the rest idle bandwidth of the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio according to the bandwidth ratio adjustment scheme when the monitoring of the network resource with the lowest bandwidth ratio in the preset time does not raise the bandwidth ratio.
According to another aspect of the embodiment of the present invention, there is further provided a nonvolatile storage medium, where the nonvolatile storage medium includes a stored program, and when the program runs, the device where the nonvolatile storage medium is controlled to execute a bandwidth secondary scheduling method.
According to another aspect of the embodiment of the present invention, there is also provided an electronic device including a processor and a memory; the memory stores computer readable instructions, and the processor is configured to execute the computer readable instructions, where the computer readable instructions execute a bandwidth secondary scheduling method when executed.
Compared with the prior art, the invention has the beneficial effects that:
in the embodiment of the invention, the occupation condition of network resources and the bandwidth value of the network resources are acquired; generating a network resource occupation type according to the network resource occupation condition, wherein the network resource occupation type comprises: network resource types, number of network resource types; the network bandwidth is split evenly according to the network resource bandwidth value and the network resource occupation type, so as to obtain split network resource allocation information, wherein the splitting evenly through the network resource occupation type comprises the following steps: the network resource bandwidth values are divided averagely according to the network resource type number, and the divided bandwidths are distributed to each network resource; allocating half of the idle bandwidth value in the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio, and continuously monitoring the two network resources with the highest bandwidth ratio and the lowest bandwidth ratio within a preset period time to obtain a monitoring result; the method for fully distributing the rest idle bandwidth of the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio according to the monitoring result solves the technical problems that the network scheduling process in the prior art only distributes the network resource according to the bandwidth ratio or the network resource weight value in different network resources and can not combine the condition of the network bandwidth ratio according to the specific condition of the network resource.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and 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 do not constitute a limitation on the invention. In the drawings:
fig. 1 is a flowchart of a bandwidth secondary scheduling method according to an embodiment of the present invention;
fig. 2 is a block diagram of a bandwidth secondary scheduling apparatus according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise 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.
According to an embodiment of the present invention, there is provided a method embodiment of a bandwidth secondary scheduling method, it should be noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different from that herein.
Example 1
Fig. 1 is a flowchart of a bandwidth secondary scheduling method according to an embodiment of the present invention, as shown in fig. 1, the method includes the steps of:
step S102, obtaining network resource occupation condition and network resource bandwidth value.
Step S104, generating a network resource occupation type according to the network resource occupation condition, wherein the network resource occupation type comprises: network resource type, number of network resource types.
Step S106, carrying out average splitting on the network bandwidth according to the network resource bandwidth value and the network resource occupation type to obtain split network resource allocation information, wherein the step of carrying out average splitting through the network resource occupation type comprises the following steps: and carrying out average division on the network resource bandwidth values according to the network resource type number, and distributing the divided bandwidths to each network resource.
And step S108, allocating half of the idle bandwidth value in the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio, and continuously monitoring the two network resources with the highest bandwidth ratio and the lowest bandwidth ratio within a preset period time to obtain a monitoring result.
And step S110, according to the monitoring result, the rest idle bandwidths of the network resources with the lowest bandwidth proportion are all distributed to the bandwidths of the network resources with the highest bandwidth proportion.
Optionally, the splitting is performed on average according to the network resource bandwidth value and the network resource occupation type, so as to obtain split network resource allocation information, where the splitting performed on average by the network resource occupation type includes: after the network resource bandwidth values are divided averagely according to the network resource category number and the divided bandwidths are distributed to each network resource, the method further comprises: and acquiring the bandwidth ratio of each network resource according to the network resource allocation information, wherein the bandwidth ratio is the use ratio of each network resource in the bandwidth allocated by the current network resource.
Optionally, allocating half of the idle bandwidth value in the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio, and continuously monitoring the two network resources with the highest bandwidth ratio and the lowest bandwidth ratio within a preset period time, so as to obtain a monitoring result, wherein the method further comprises: and judging the network resource with the lowest bandwidth ratio according to the monitoring result and the network resource type, and generating a bandwidth ratio adjustment scheme through a preset resource judgment model.
Optionally, the allocating the rest idle bandwidth of the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio according to the monitoring result includes: and when the monitoring of the network resource with the lowest bandwidth ratio does not raise the bandwidth ratio in the preset time, the rest idle bandwidth of the network resource with the lowest bandwidth ratio is fully allocated to the bandwidth of the network resource with the highest bandwidth ratio according to the bandwidth ratio adjustment scheme.
In the specific implementation, firstly, acquiring the network resource occupation condition and the network resource bandwidth value; generating a network resource occupation type according to the network resource occupation condition, wherein the network resource occupation type comprises: network resource types, number of network resource types; specifically, in the case of limited network resources, in order to schedule wired network resources to exert maximum network transmission efficiency, it is necessary to obtain, according to network devices, what bandwidth is being occupied by all network resources, where the bandwidth of the network resources may be shown in percentage, and obtain, according to the situation of network resource occupancy, what kind of network resources are all available, for example, entertainment projects, work projects, etc. exist in network resource occupancy.
The average splitting is carried out according to the network resource bandwidth value and the network resource occupation type to obtain split network resource allocation information, wherein the average splitting through the network resource occupation type comprises the following steps: the network resource bandwidth values are divided averagely according to the network resource type number, and the divided bandwidths are distributed to each network resource; in particular, dividing each network bandwidth resource may be equally divided according to the number of occurrences of the network resource, for example:
f=m/F (α), where F is a bandwidth value owned by each network resource after dividing the network resources, M is a total network resource bandwidth value, F (α) represents a network resource identification result related to a root specific network resource weight, and by identifying the network resources, the situation of facing multiple network resources is achieved, the resources are equally divided, and the division result depends on the types of the network resources.
Acquiring the bandwidth ratio of each network resource according to the network resource allocation information, wherein the bandwidth ratio is the use ratio of each network resource in the bandwidth allocated by the current network resource; allocating half of the idle bandwidth value in the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio, and continuously monitoring the two network resources with the highest bandwidth ratio and the lowest bandwidth ratio within a preset period time; and judging the network resource with the lowest bandwidth proportion according to the monitoring result and the network resource type, generating a bandwidth proportion adjustment scheme through a preset resource judgment model, and when the monitoring of the network resource with the lowest bandwidth proportion does not raise the bandwidth proportion in the preset time, fully distributing the rest idle bandwidth of the network resource with the lowest bandwidth proportion to the bandwidth of the network resource with the highest bandwidth proportion. Specifically, in order to temporarily adjust the network bandwidth of the most idle network resource channel to the bandwidth of the busiest network resource channel, half of the idle bandwidth of the most idle network resource channel needs to be scheduled to the bandwidth of the busiest network resource channel, and the bandwidth values of the busiest network resource channel are increased by combining in an overlapping mode, meanwhile, the most idle network resource channel is continuously monitored, and when no large-flow data access exists in the most idle network resource channel for a period of time, the idle bandwidth of the most idle network resource channel is continuously scheduled to the busiest network resource channel.
By the embodiment, the technical problems that the network scheduling process in the prior art only carries out the allocation of the network resources according to the bandwidth proportion or the network resource weight value in different network resources and the situation of combining the network bandwidth proportion according to the specific situation of the network resources cannot be solved.
Example two
Fig. 2 is a block diagram of a bandwidth secondary scheduling apparatus according to an embodiment of the present invention, as shown in fig. 2, including:
and the acquiring module 20 is configured to acquire the network resource occupation situation and the network resource bandwidth value.
A generating module 22, configured to generate a network resource occupation type according to the network resource occupation situation, where the network resource occupation type includes: network resource type, number of network resource types.
The splitting module 24 is configured to split the network bandwidth on average according to the network resource bandwidth value and the network resource occupation type, to obtain split network resource allocation information, where splitting the network resource occupation type on average includes: and carrying out average division on the network resource bandwidth values according to the network resource type number, and distributing the divided bandwidths to each network resource.
And the allocating module 26 is configured to allocate half of the idle bandwidth value in the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio, and continuously monitor the two network resources with the highest bandwidth ratio and the lowest bandwidth ratio within a preset period time, so as to obtain a monitoring result.
And the allocation module 28 is configured to allocate all the remaining idle bandwidths of the network resources with the lowest bandwidth ratio to the bandwidth of the network resources with the highest bandwidth ratio according to the monitoring result.
Optionally, the apparatus further includes: and the acquisition module is further used for acquiring the bandwidth duty ratio of each network resource according to the network resource allocation information, wherein the bandwidth duty ratio is the use ratio of each network resource in the bandwidth allocated by the current network resource.
Optionally, the apparatus further includes: and the judging module is used for judging the network resource with the lowest bandwidth occupation ratio according to the monitoring result and the network resource type, and generating a bandwidth occupation ratio adjusting scheme through a preset resource judging model.
Optionally, the allocation module includes: and the allocation unit is used for fully allocating the rest idle bandwidth of the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio according to the bandwidth ratio adjustment scheme when the monitoring of the network resource with the lowest bandwidth ratio in the preset time does not raise the bandwidth ratio.
In the specific implementation, firstly, acquiring the network resource occupation condition and the network resource bandwidth value; generating a network resource occupation type according to the network resource occupation condition, wherein the network resource occupation type comprises: network resource types, number of network resource types; specifically, in the case of limited network resources, in order to schedule wired network resources to exert maximum network transmission efficiency, it is necessary to obtain, according to network devices, what bandwidth is being occupied by all network resources, where the bandwidth of the network resources may be shown in percentage, and obtain, according to the situation of network resource occupancy, what kind of network resources are all available, for example, entertainment projects, work projects, etc. exist in network resource occupancy.
The average splitting is carried out according to the network resource bandwidth value and the network resource occupation type to obtain split network resource allocation information, wherein the average splitting through the network resource occupation type comprises the following steps: the network resource bandwidth values are divided averagely according to the network resource type number, and the divided bandwidths are distributed to each network resource; in particular, dividing each network bandwidth resource may be equally divided according to the number of occurrences of the network resource, for example:
f=m/F (α), where F is a bandwidth value owned by each network resource after dividing the network resources, M is a total network resource bandwidth value, F (α) represents a network resource identification result related to a root specific network resource weight, and by identifying the network resources, the situation of facing multiple network resources is achieved, the resources are equally divided, and the division result depends on the types of the network resources.
Acquiring the bandwidth ratio of each network resource according to the network resource allocation information, wherein the bandwidth ratio is the use ratio of each network resource in the bandwidth allocated by the current network resource; allocating half of the idle bandwidth value in the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio, and continuously monitoring the two network resources with the highest bandwidth ratio and the lowest bandwidth ratio within a preset period time; and judging the network resource with the lowest bandwidth proportion according to the monitoring result and the network resource type, generating a bandwidth proportion adjustment scheme through a preset resource judgment model, and when the monitoring of the network resource with the lowest bandwidth proportion does not raise the bandwidth proportion in the preset time, fully distributing the rest idle bandwidth of the network resource with the lowest bandwidth proportion to the bandwidth of the network resource with the highest bandwidth proportion. Specifically, in order to temporarily adjust the network bandwidth of the most idle network resource channel to the bandwidth of the busiest network resource channel, half of the idle bandwidth of the most idle network resource channel needs to be scheduled to the bandwidth of the busiest network resource channel, and the bandwidth values of the busiest network resource channel are increased by combining in an overlapping mode, meanwhile, the most idle network resource channel is continuously monitored, and when no large-flow data access exists in the most idle network resource channel for a period of time, the idle bandwidth of the most idle network resource channel is continuously scheduled to the busiest network resource channel.
According to another aspect of the embodiment of the present invention, there is further provided a nonvolatile storage medium, where the nonvolatile storage medium includes a stored program, and when the program runs, the device where the nonvolatile storage medium is controlled to execute a bandwidth secondary scheduling method.
Specifically, the bandwidth secondary scheduling method includes: acquiring network resource occupation conditions and network resource bandwidth values; generating a network resource occupation type according to the network resource occupation condition, wherein the network resource occupation type comprises: network resource types, number of network resource types; the network bandwidth is split evenly according to the network resource bandwidth value and the network resource occupation type, so as to obtain split network resource allocation information, wherein the splitting evenly through the network resource occupation type comprises the following steps: the network resource bandwidth values are divided averagely according to the network resource type number, and the divided bandwidths are distributed to each network resource; allocating half of the idle bandwidth value in the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio, and continuously monitoring the two network resources with the highest bandwidth ratio and the lowest bandwidth ratio within a preset period time to obtain a monitoring result; and according to the monitoring result, the rest idle bandwidth of the network resource with the lowest bandwidth ratio is fully allocated to the bandwidth of the network resource with the highest bandwidth ratio. Optionally, the splitting is performed on average according to the network resource bandwidth value and the network resource occupation type, so as to obtain split network resource allocation information, where the splitting performed on average by the network resource occupation type includes: after the network resource bandwidth values are divided averagely according to the network resource category number and the divided bandwidths are distributed to each network resource, the method further comprises: and acquiring the bandwidth ratio of each network resource according to the network resource allocation information, wherein the bandwidth ratio is the use ratio of each network resource in the bandwidth allocated by the current network resource. Optionally, allocating half of the idle bandwidth value in the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio, and continuously monitoring the two network resources with the highest bandwidth ratio and the lowest bandwidth ratio within a preset period time, so as to obtain a monitoring result, wherein the method further comprises: and judging the network resource with the lowest bandwidth ratio according to the monitoring result and the network resource type, and generating a bandwidth ratio adjustment scheme through a preset resource judgment model. Optionally, the allocating the rest idle bandwidth of the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio according to the monitoring result includes: and when the monitoring of the network resource with the lowest bandwidth ratio does not raise the bandwidth ratio in the preset time, the rest idle bandwidth of the network resource with the lowest bandwidth ratio is fully allocated to the bandwidth of the network resource with the highest bandwidth ratio according to the bandwidth ratio adjustment scheme.
According to another aspect of the embodiment of the present invention, there is also provided an electronic device including a processor and a memory; the memory stores computer readable instructions, and the processor is configured to execute the computer readable instructions, where the computer readable instructions execute a bandwidth secondary scheduling method when executed.
Specifically, the bandwidth secondary scheduling method includes: acquiring network resource occupation conditions and network resource bandwidth values; generating a network resource occupation type according to the network resource occupation condition, wherein the network resource occupation type comprises: network resource types, number of network resource types; the network bandwidth is split evenly according to the network resource bandwidth value and the network resource occupation type, so as to obtain split network resource allocation information, wherein the splitting evenly through the network resource occupation type comprises the following steps: the network resource bandwidth values are divided averagely according to the network resource type number, and the divided bandwidths are distributed to each network resource; allocating half of the idle bandwidth value in the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio, and continuously monitoring the two network resources with the highest bandwidth ratio and the lowest bandwidth ratio within a preset period time to obtain a monitoring result; and according to the monitoring result, the rest idle bandwidth of the network resource with the lowest bandwidth ratio is fully allocated to the bandwidth of the network resource with the highest bandwidth ratio. Optionally, the splitting is performed on average according to the network resource bandwidth value and the network resource occupation type, so as to obtain split network resource allocation information, where the splitting performed on average by the network resource occupation type includes: after the network resource bandwidth values are divided averagely according to the network resource category number and the divided bandwidths are distributed to each network resource, the method further comprises: and acquiring the bandwidth ratio of each network resource according to the network resource allocation information, wherein the bandwidth ratio is the use ratio of each network resource in the bandwidth allocated by the current network resource. Optionally, allocating half of the idle bandwidth value in the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio, and continuously monitoring the two network resources with the highest bandwidth ratio and the lowest bandwidth ratio within a preset period time, so as to obtain a monitoring result, wherein the method further comprises: and judging the network resource with the lowest bandwidth ratio according to the monitoring result and the network resource type, and generating a bandwidth ratio adjustment scheme through a preset resource judgment model. Optionally, the allocating the rest idle bandwidth of the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio according to the monitoring result includes: and when the monitoring of the network resource with the lowest bandwidth ratio does not raise the bandwidth ratio in the preset time, the rest idle bandwidth of the network resource with the lowest bandwidth ratio is fully allocated to the bandwidth of the network resource with the highest bandwidth ratio according to the bandwidth ratio adjustment scheme.
By the embodiment, the technical problems that the network scheduling process in the prior art only carries out the allocation of the network resources according to the bandwidth proportion or the network resource weight value in different network resources and the situation of combining the network bandwidth proportion according to the specific situation of the network resources cannot be solved.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The 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 units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.
Claims (4)
1. A method for secondary scheduling of bandwidth, comprising:
acquiring network resource occupation conditions and network resource bandwidth values;
generating a network resource occupation type according to the network resource occupation condition, wherein the network resource occupation type comprises: network resource types, number of network resource types;
the network bandwidth is split evenly according to the network resource bandwidth value and the network resource occupation type, so as to obtain split network resource allocation information, wherein the splitting evenly through the network resource occupation type comprises the following steps: the network resource bandwidth values are divided averagely according to the network resource type number, and the divided bandwidths are distributed to each network resource;
allocating half of the idle bandwidth value in the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio, and continuously monitoring the two network resources with the highest bandwidth ratio and the lowest bandwidth ratio within a preset period time to obtain a monitoring result;
according to the monitoring result, the residual idle bandwidth of the network resource with the lowest bandwidth proportion is fully distributed to the bandwidth of the network resource with the highest bandwidth proportion;
and performing average splitting according to the network resource bandwidth value and the network resource occupation type to obtain split network resource allocation information, wherein performing average splitting through the network resource occupation type comprises: after the network resource bandwidth values are divided averagely according to the network resource category number and the divided bandwidths are distributed to each network resource, the method further comprises:
acquiring the bandwidth ratio of each network resource according to the network resource allocation information, wherein the bandwidth ratio is the use ratio of each network resource in the bandwidth allocated by the current network resource;
and allocating half of the idle bandwidth value in the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio, continuously monitoring the two network resources with the highest bandwidth ratio and the lowest bandwidth ratio within a preset period time, and obtaining a monitoring result, wherein the method further comprises the following steps:
judging the network resource with the lowest bandwidth occupation ratio according to the monitoring result and the network resource type, and generating a bandwidth occupation ratio adjustment scheme through a preset resource judgment model;
the step of distributing the rest idle bandwidth of the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio according to the monitoring result comprises the following steps:
and when the monitoring of the network resource with the lowest bandwidth ratio does not raise the bandwidth ratio in the preset time, the rest idle bandwidth of the network resource with the lowest bandwidth ratio is fully allocated to the bandwidth of the network resource with the highest bandwidth ratio according to the bandwidth ratio adjustment scheme.
2. A bandwidth secondary scheduling apparatus, comprising:
the acquisition module is used for acquiring the network resource occupation condition and the network resource bandwidth value;
the generating module is configured to generate a network resource occupation type according to the network resource occupation situation, where the network resource occupation type includes: network resource types, number of network resource types;
the splitting module is configured to perform average splitting on the network bandwidth according to the network resource bandwidth value and the network resource occupation type, so as to obtain split network resource allocation information, where performing average splitting through the network resource occupation type includes: the network resource bandwidth values are divided averagely according to the network resource type number, and the divided bandwidths are distributed to each network resource;
the allocation module is used for allocating half of the idle bandwidth value in the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio, and continuously monitoring the two network resources with the highest bandwidth ratio and the lowest bandwidth ratio within the preset period time to obtain a monitoring result;
the allocation module is used for fully allocating the residual idle bandwidth of the network resource with the lowest bandwidth occupation ratio to the bandwidth of the network resource with the highest bandwidth occupation ratio according to the monitoring result;
the apparatus further comprises:
the acquisition module is further used for acquiring the bandwidth duty ratio of each network resource according to the network resource allocation information, wherein the bandwidth duty ratio is the use ratio of each network resource in the bandwidth allocated by the current network resource;
the apparatus further comprises:
the judging module is used for judging the network resource with the lowest bandwidth occupation ratio according to the monitoring result and the network resource type, and generating a bandwidth occupation ratio adjustment scheme through a preset resource judging model;
the distribution module comprises:
and the allocation unit is used for fully allocating the rest idle bandwidth of the network resource with the lowest bandwidth ratio to the bandwidth of the network resource with the highest bandwidth ratio according to the bandwidth ratio adjustment scheme when the monitoring of the network resource with the lowest bandwidth ratio in the preset time does not raise the bandwidth ratio.
3. A non-volatile storage medium comprising a stored program, wherein the program when run controls a device in which the non-volatile storage medium resides to perform the method of claim 1.
4. An electronic device comprising a processor and a memory; the memory has stored therein computer readable instructions for execution by the processor, wherein the computer readable instructions when executed perform the method of claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111568937.5A CN114257515B (en) | 2021-12-21 | 2021-12-21 | Bandwidth secondary scheduling method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111568937.5A CN114257515B (en) | 2021-12-21 | 2021-12-21 | Bandwidth secondary scheduling method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114257515A CN114257515A (en) | 2022-03-29 |
CN114257515B true CN114257515B (en) | 2024-04-05 |
Family
ID=80793556
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111568937.5A Active CN114257515B (en) | 2021-12-21 | 2021-12-21 | Bandwidth secondary scheduling method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114257515B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116847360B (en) * | 2022-12-30 | 2024-04-02 | 曲阜师范大学 | Non-real-time data transmission method, device and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1039693A2 (en) * | 1999-03-19 | 2000-09-27 | Fujitsu Limited | Device and method for interconnecting distant networks through dynamically allocated bandwidth |
CN101599908A (en) * | 2009-07-15 | 2009-12-09 | 杭州华三通信技术有限公司 | A kind of auto-allocation method of bandwidth and equipment |
CN102123093A (en) * | 2011-03-04 | 2011-07-13 | 华中科技大学 | Method for ensuring necessary network bandwidth of virtual machine |
WO2017185697A1 (en) * | 2016-04-28 | 2017-11-02 | 乐视控股(北京)有限公司 | Bandwidth sharing method and apparatus |
CN110290013A (en) * | 2019-07-10 | 2019-09-27 | 无锡华云数据技术服务有限公司 | A kind of automatic balancing method and its system of cloud platform network bandwidth |
CN110996325A (en) * | 2019-12-13 | 2020-04-10 | 深圳市普威技术有限公司 | AP network resource allocation method, device, equipment, system and storage medium |
CN112332999A (en) * | 2020-09-23 | 2021-02-05 | 深圳Tcl新技术有限公司 | Bandwidth allocation method, device, equipment and computer readable storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11044208B2 (en) * | 2017-11-27 | 2021-06-22 | Hughes Network Systems, Llc | System and method for maximizing throughput using prioritized efficient bandwidth sharing |
-
2021
- 2021-12-21 CN CN202111568937.5A patent/CN114257515B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1039693A2 (en) * | 1999-03-19 | 2000-09-27 | Fujitsu Limited | Device and method for interconnecting distant networks through dynamically allocated bandwidth |
CN101599908A (en) * | 2009-07-15 | 2009-12-09 | 杭州华三通信技术有限公司 | A kind of auto-allocation method of bandwidth and equipment |
CN102123093A (en) * | 2011-03-04 | 2011-07-13 | 华中科技大学 | Method for ensuring necessary network bandwidth of virtual machine |
WO2017185697A1 (en) * | 2016-04-28 | 2017-11-02 | 乐视控股(北京)有限公司 | Bandwidth sharing method and apparatus |
CN110290013A (en) * | 2019-07-10 | 2019-09-27 | 无锡华云数据技术服务有限公司 | A kind of automatic balancing method and its system of cloud platform network bandwidth |
CN110996325A (en) * | 2019-12-13 | 2020-04-10 | 深圳市普威技术有限公司 | AP network resource allocation method, device, equipment, system and storage medium |
CN112332999A (en) * | 2020-09-23 | 2021-02-05 | 深圳Tcl新技术有限公司 | Bandwidth allocation method, device, equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114257515A (en) | 2022-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111176852B (en) | Resource allocation method, device, chip and computer readable storage medium | |
CA2495195C (en) | Method and apparatus for monitoring and controlling the allocation of network bandwidth | |
CN107688496A (en) | Task distribution formula processing method, device, storage medium and server | |
CN107800756A (en) | A kind of load-balancing method and load equalizer | |
CN107291546A (en) | A kind of resource regulating method and device | |
CN111246586A (en) | Method and system for distributing smart grid resources based on genetic algorithm | |
EP2083590A3 (en) | Communication systems | |
EP2053786A3 (en) | Targeted resource allocation | |
CN107968802A (en) | The method, apparatus and filtering type scheduler of a kind of scheduling of resource | |
CN114257515B (en) | Bandwidth secondary scheduling method and device | |
CN106161485B (en) | A kind of resource regulating method of infrastructure service cluster, device and system | |
CN107018091A (en) | The dispatching method and device of resource request | |
CN112559147B (en) | Dynamic matching method, system and equipment based on GPU (graphics processing Unit) occupied resource characteristics | |
CN108279980A (en) | Resource allocation methods and system and resource allocation terminal | |
CN106020777A (en) | Data processing method, device and system | |
CN114936779A (en) | Task allocation method and device | |
CN109614236B (en) | Cluster resource dynamic adjustment method, device and equipment and readable storage medium | |
CN109783236B (en) | Method and apparatus for outputting information | |
CN110807618A (en) | Dynamic scheduling method, device and equipment | |
CN104579764A (en) | Dynamic data link resource allocation method based on shared time slot pools | |
CN116527674A (en) | Method for managing and scheduling heterogeneous computing power resources | |
CN116700920A (en) | Cloud primary hybrid deployment cluster resource scheduling method and device | |
CN111124672A (en) | Data distribution method based on Redis cluster and related equipment | |
CN109918577B (en) | Monitoring method and device for social software | |
CN111506409B (en) | Data processing method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Room 1308, 13th floor, East Tower, 33 Fuxing Road, Haidian District, Beijing 100036 Applicant after: China Telecom Digital Intelligence Technology Co.,Ltd. Address before: Room 1308, 13th floor, East Tower, 33 Fuxing Road, Haidian District, Beijing 100036 Applicant before: CHINA TELECOM GROUP SYSTEM INTEGRATION Co.,Ltd. |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |