[go: up one dir, main page]

CN112099949B - Task distribution control method and device, electronic equipment and storage medium - Google Patents

Task distribution control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112099949B
CN112099949B CN202010954277.3A CN202010954277A CN112099949B CN 112099949 B CN112099949 B CN 112099949B CN 202010954277 A CN202010954277 A CN 202010954277A CN 112099949 B CN112099949 B CN 112099949B
Authority
CN
China
Prior art keywords
task
distributed
bandwidth
distribution
emergency
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
CN202010954277.3A
Other languages
Chinese (zh)
Other versions
CN112099949A (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202010954277.3A priority Critical patent/CN112099949B/en
Publication of CN112099949A publication Critical patent/CN112099949A/en
Application granted granted Critical
Publication of CN112099949B publication Critical patent/CN112099949B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a control method, a device, electronic equipment and a storage medium for task distribution, which are applied to the technical field of computer application, wherein the method can comprise the steps of obtaining emergency degree information of a task to be distributed; the emergency degree information includes: the upper limit of the distribution bandwidth corresponding to the task to be distributed, the service type corresponding to the task to be distributed or the influence degree of any corresponding resource to be distributed on the user access; matching the emergency degree information with preset emergency task information; when the emergency degree information is not matched with the emergency task information, taking the task to be distributed as a non-emergency task, and controlling the task to be distributed in a delayed manner; when the emergency degree information is matched with the emergency task information, the task to be distributed is used as an emergency task, and the task to be executed is controlled to be distributed in real time. By the method, the device, the electronic equipment and the storage medium for controlling task distribution, provided by the embodiment of the invention, the influence of the distribution process on user access can be reduced.

Description

Task distribution control method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer application technologies, and in particular, to a method and apparatus for controlling task distribution, an electronic device, and a storage medium.
Background
Resources produced by the service system and the like are distributed to nodes of a content distribution network (Content Delivery Network, CDN), and users can access the resources produced by the service system, such as videos, static resources and the like through accessing the CDN nodes.
In the existing mode, the distribution is possible at any time, in one case, if the distribution of resources is performed at the peak stage of user access, for example, the distribution of resources is performed at 18 to 23 points per day, the distribution process and the user access process can rob bandwidth resources, and the access to the user can be influenced.
Disclosure of Invention
The embodiment of the invention aims to provide a control method, a device, electronic equipment and a storage medium for task distribution, so as to reduce the influence of a distribution process on user access. The specific technical scheme is as follows:
in a first aspect of the present invention, there is provided a method for controlling task distribution, including:
obtaining emergency degree information of tasks to be distributed; the emergency degree information includes: the distribution bandwidth upper limit corresponding to the task to be distributed, the service type corresponding to the task to be distributed or the influence degree of any corresponding resource to be distributed on user access;
Matching the emergency degree information with preset emergency task information;
when the emergency degree information is not matched with the emergency task information, the task to be distributed is used as a non-emergency task, and the task to be distributed is controlled to be distributed in a delayed mode;
and when the emergency degree information is matched with the emergency task information, the task to be distributed is used as an emergency task, and the task to be executed is controlled to be distributed in real time.
Optionally, the obtaining the emergency degree information of the task to be distributed includes:
acquiring a distribution bandwidth upper limit corresponding to a task to be distributed; the distribution bandwidth upper limit represents the maximum value of the available bandwidth of the service channel corresponding to the task to be distributed; the distribution bandwidth upper limit is positively correlated with the urgency of the service channel;
after the upper limit of the distribution bandwidth corresponding to the task to be distributed is obtained, the method further comprises:
determining a current available bandwidth corresponding to the current time based on a distribution bandwidth upper limit corresponding to the task to be distributed and a bandwidth required by the task to be distributed;
and when the emergency degree information is not matched with the emergency task information, taking the task to be distributed as a non-emergency task, and controlling the task to be distributed in a delayed manner, wherein the method comprises the following steps:
When the current available bandwidth does not meet a preset condition, caching the task to be distributed until the available bandwidth corresponding to the subsequent time meets the preset condition, and controlling the task to be distributed in the subsequent time; wherein the subsequent time is a time subsequent to the current time;
and when the emergency degree information is matched with the emergency task information, the task to be distributed is used as an emergency task, and the task to be executed is controlled to be distributed in real time, wherein the method comprises the following steps:
and when the current available bandwidth meets the preset condition, controlling to distribute the task to be distributed at the current time.
Optionally, the determining, based on the upper limit of the distribution bandwidth corresponding to the task to be distributed and the bandwidth required by the task to be distributed, the current available bandwidth corresponding to the current time includes:
subtracting the bandwidth required by the task to be distributed from the upper limit of the distribution bandwidth corresponding to the current time, and taking the obtained difference value as the current available bandwidth;
when the current available bandwidth meets a preset condition, caching the task to be distributed until the available bandwidth corresponding to the subsequent time meets the preset bandwidth, and controlling the task to be distributed, wherein the method comprises the following steps:
When the current available bandwidth is not greater than zero, caching the task to be distributed until the available bandwidth corresponding to the subsequent time is greater than zero, and controlling the task to be distributed;
and when the current available bandwidth does not meet the preset condition, controlling the task to be distributed, including:
and when the current available bandwidth is greater than zero, controlling the task to be distributed.
Optionally, the obtaining the upper limit of the distribution bandwidth corresponding to the task to be distributed includes:
obtaining a target service channel corresponding to the task to be distributed;
obtaining bandwidth configuration information, wherein the bandwidth configuration information comprises distribution bandwidth upper limits corresponding to a plurality of service channels in a plurality of time ranges;
analyzing the bandwidth configuration information to obtain a target distribution bandwidth upper limit corresponding to the target service channel, and taking the target distribution bandwidth upper limit as a distribution bandwidth upper limit corresponding to the task to be distributed.
Optionally, when the current available bandwidth meets the preset condition, controlling to distribute the task to be distributed at the current time, including:
obtaining a target service channel corresponding to the task to be distributed;
Acquiring rate configuration information, wherein the rate configuration information comprises distribution rates corresponding to a plurality of service channels;
analyzing the rate configuration information to obtain a target distribution rate corresponding to the target service channel;
and controlling the task to be distributed according to the target distribution rate.
Optionally, the obtaining bandwidth configuration information includes:
acquiring bandwidth configuration information corresponding to CDN nodes of a content delivery network;
after the obtaining the bandwidth configuration information corresponding to the CDN node, the method further includes:
and sending bandwidth configuration information corresponding to the CDN node, so that the CDN node controls the task to be distributed according to the bandwidth configuration information.
Optionally, after the obtaining the bandwidth configuration information, the method further includes:
and receiving abnormal information fed back by the operation and maintenance system, adjusting the bandwidth configuration information according to the abnormal information, and controlling the distribution of the tasks to be distributed according to the adjusted bandwidth configuration information.
In a second aspect of the present invention, there is also provided a control device for task distribution, including:
The obtaining module is used for obtaining the emergency degree information of the tasks to be distributed; the emergency degree information includes: the distribution bandwidth upper limit corresponding to the task to be distributed, the service type corresponding to the task to be distributed or the influence degree of any corresponding resource to be distributed on user access;
the matching module is used for matching the emergency degree information with preset emergency task information;
the control module is used for taking the task to be distributed as a non-urgent task when the urgent degree information is not matched with the urgent task information and controlling the task to be distributed in a delayed manner; and when the emergency degree information is matched with the emergency task information, the task to be distributed is used as an emergency task, and the task to be executed is controlled to be distributed in real time.
In a third aspect of the present invention, there is also provided an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and a processor, configured to implement the method steps described in the first aspect when executing the program stored in the memory.
In yet another aspect of the present invention, there is also provided a computer readable storage medium having instructions stored therein, which when run on a computer, cause the computer to perform the method of the first aspect described above.
In a further aspect of the invention there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of the first aspect described above.
The method, the device, the electronic equipment and the storage medium for controlling task distribution provided by the embodiment of the invention acquire the emergency degree information of the task to be distributed; the emergency degree information includes: the upper limit of the distribution bandwidth corresponding to the task to be distributed, the service type corresponding to the task to be distributed or the influence degree of any corresponding resource to be distributed on the user access; matching the emergency degree information with preset emergency task information; when the emergency degree information is not matched with the emergency task information, taking the task to be distributed as a non-emergency task, and controlling the task to be distributed in a delayed manner; when the emergency degree information is matched with the emergency task information, the task to be distributed is used as an emergency task, and the task to be executed is controlled to be distributed in real time. In the embodiment of the invention, the real-time distribution can be performed for the urgent task and the delay distribution can be performed for the non-urgent task, so that the distribution can be performed only for the urgent task in the peak stage, the non-urgent task can be delayed to the idle stage except the peak stage, the competing of bandwidth resources between the distribution process and the user access process can be reduced, and the influence of the distribution process on the user access is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
FIG. 1 is a flow chart of a method for controlling task distribution in an embodiment of the present invention;
FIG. 2 is another flowchart of a method for controlling task distribution according to an embodiment of the present invention;
fig. 3 is a flowchart for obtaining an upper limit of a distribution bandwidth according to an embodiment of the present invention;
FIG. 4 is a flowchart of distributing tasks to be distributed according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a specific embodiment provided by an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a task distribution control device according to an embodiment of the present invention;
fig. 7 is a schematic diagram of another structure of a task distribution control device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a task distribution control device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a task distribution control device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings in the embodiments of the present invention.
The CDN central control is a core part of a distribution synchronization system, externally receives video and static resource distribution tasks of a plurality of business departments, such as an upper business system and the like, and is matched with an accurate scheduling system to ensure a first-class viewing experience when a user accesses a master station and various Application programs (APP).
The upper business system needs to deliver various produced resources to CDN nodes in advance, and in the prior art, the resources can be delivered at any time, in one case, if the resources are delivered at the peak stage of user access, for example, the resources are delivered from 18 points to 23 points per day. The large number of distribution tasks not only robs the source bandwidth with the user, but also influences the user experience. The distribution process is carried out in the peak stage of the user access, which causes the bandwidth resource to be robbed by the distribution process and the user access process, and the access to the user can be influenced, thus influencing the user experience.
The embodiment of the invention provides a control method for task distribution, which is used for carrying out real-time distribution on urgent tasks and delay distribution on non-urgent tasks by distinguishing urgent tasks from non-urgent tasks, so that the distribution on only urgent tasks in a peak stage can be realized, the non-urgent tasks can be delayed to an idle stage except the peak stage, the contention of bandwidth resources between a distribution process and a user access process can be reduced, and the influence of the distribution process on user access is reduced.
In addition, resources delivered to CDN nodes during peak periods may not be accessed in time by users, such as when the occupancy bandwidth is used to deliver resources that will be of interest in the future, and existing approaches may also be understood as unnecessary delivery during peak periods, which may increase bandwidth costs. The embodiment of the invention can fully utilize bandwidth resources in non-peak stages, such as idle resources in early morning and other periods, and non-urgent tasks, and can also understand that the non-urgent distribution tasks can be delayed to the idle stages for distribution, such as delayed to early morning, so that unnecessary distribution tasks can be avoided in late peak stages, the idle resources are fully utilized, and the bandwidth cost can be reduced.
The task distribution control method provided by the embodiment of the invention is described in detail below with reference to specific embodiments.
The control method for task distribution provided by the embodiment of the invention can be applied to a synchronous distribution system, and particularly can be applied to distribution central control.
An embodiment of the present invention provides a method for controlling task distribution, as shown in fig. 1, may include:
s101, obtaining emergency degree information of tasks to be distributed; the emergency degree information includes: the upper limit of the distribution bandwidth corresponding to the task to be distributed, the service type corresponding to the task to be distributed or the influence degree of any corresponding resource to be distributed on the user access;
S102, matching the emergency degree information with preset emergency task information;
s103, when the emergency degree information is not matched with the emergency task information, taking the task to be distributed as a non-emergency task, and controlling the task to be distributed in a delayed manner;
and S104, when the emergency degree information is matched with the emergency task information, taking the task to be distributed as an emergency task, and controlling the real-time distribution of the task to be executed.
In the embodiment of the invention, the real-time distribution can be performed for the urgent task and the delay distribution can be performed for the non-urgent task, so that the distribution can be performed only for the urgent task in the peak stage, the non-urgent task can be delayed to the idle stage except the peak stage, the competing of bandwidth resources between the distribution process and the user access process can be reduced, and the influence of the distribution process on the user access is reduced.
Referring to fig. 1, a detailed description is given of a method for controlling task distribution according to an embodiment of the present invention.
S101, emergency degree information of tasks to be distributed is obtained.
The urgency information may include information indicating the urgency of the task to be distributed, and may be understood as indicating whether the task to be distributed is an urgent task or a non-urgent task. The emergency degree information may include: the upper limit of the distribution bandwidth corresponding to the task to be distributed, the service type corresponding to the task to be distributed or the influence degree of any corresponding resource to be distributed on the access of the user.
S102, matching the emergency degree information with preset emergency task information.
The preset urgent task information may include preset conditions (e.g., threshold) corresponding to a preset distribution bandwidth upper limit, preset conditions (e.g., threshold) corresponding to a service type or a degree of influence on user access, and so on.
The method can analyze the characteristics of the emergency task in the actual application in advance, and can also be understood as analyzing the characteristics of the task which needs to be distributed in real time in the actual application process, and taking the characteristics as preset emergency task information.
For example, the service type belonging to the urgent task in the actual application process is analyzed. Or analyzing the influence of the resource of the emergency task in the actual application process for the user access, quantifying the influence to obtain the corresponding influence degree, and counting the influence degree corresponding to the emergency task in the actual application process to obtain the threshold value of the influence degree for the user access. Or, different distribution bandwidth upper limits can be allocated to different service channels, preset conditions corresponding to the distribution bandwidth upper limits can be obtained according to actual application statistics, and the like.
And obtaining the emergency degree information of the task to be distributed, and matching the emergency degree information of the task to be distributed with the preset emergency task information.
In one embodiment, the urgent degree information of the task to be distributed may be compared with the preset urgent task information, and if the preset urgent task information includes the urgent degree information of the task to be distributed, the urgent degree information is matched with the urgent task information, the task to be distributed may be used as an urgent task; and if the preset urgent task information does not contain urgent degree information of the task to be distributed, indicating that the urgent degree information is not matched with the urgent task information, taking the task to be distributed as a non-urgent task.
For example, the urgency information of the task to be distributed may include a traffic type of the task to be distributed. Comparing the service type of the task to be distributed with the service type included in preset emergency task information; if the preset urgent task information includes a service type of the task to be distributed, determining that urgent degree information of the task to be distributed is matched with preset urgent task information, and when the urgent degree information is matched with the preset urgent task information, the task to be distributed can be used as an urgent task. If the service type of the task to be distributed is not included in the preset urgent task information, judging that the urgent degree information of the task to be distributed is not matched with the preset urgent task information, and if the urgent degree information of the task to be distributed is not matched with the preset urgent task information, taking the task to be distributed as a non-urgent task.
In another embodiment, it may be determined whether the emergency degree information of the task to be distributed satisfies a preset condition, such as a threshold, included in the preset emergency task information. If the preset condition is met, the emergency degree information representing the task to be distributed is matched with the emergency task information, and the task to be distributed can be used as an emergency task; and if the preset condition is not met, the emergency degree information is not matched with the emergency task information, and the task to be distributed is taken as a non-emergency task.
For example, the degree of impact may be understood as a parameter that affects access of resources in a task to a user. The influence of the resources in different tasks on the user access can be expressed by different influence degrees, and the influence degrees are positively correlated with the influence of the resources on the user access. The preset emergency task information may include a preset influence degree parameter threshold. If the emergency degree corresponding to the task to be distributed is not less than the influence degree parameter threshold, the emergency degree information of the task to be distributed is matched with the emergency task information, and the task to be distributed can be used as an emergency task; and if the emergency degree corresponding to the task to be distributed is smaller than the influence degree parameter threshold value, indicating that the emergency degree information is not matched with the emergency task information, taking the task to be distributed as a non-emergency task.
In another embodiment, the current available bandwidth corresponding to the current time may be determined based on the upper limit of the distribution bandwidth corresponding to the task to be distributed and the bandwidth required by the task to be distributed; judging whether the current available bandwidth meets a preset condition, and if the current available bandwidth meets the preset condition, the emergency degree information of the task to be distributed is matched with the emergency task information, and the task to be distributed can be used as an emergency task; and if the preset condition is not met, the emergency degree information is not matched with the emergency task information, and the task to be distributed is taken as a non-emergency task.
S103, when the emergency degree information is not matched with the emergency task information, taking the task to be distributed as a non-emergency task, and controlling the task to be distributed in a delayed manner;
the resources corresponding to the non-urgent tasks do not affect the current access of the user. That is, the task to be distributed is also understood as a resource distributed for the task to be distributed, and the user cannot access the resource in the current access process.
In particular, controlling the delayed distribution of the task to be distributed may include caching the task to be distributed at a current time and distributing the task to be distributed at a subsequent time. In one implementation, the current time is in a late peak stage, such as 18 to 23 points, and the time period containing idle bandwidth resources can be delayed to the early morning and the like to distribute the tasks to be distributed.
In one implementation, in order to ensure timely completion of resource distribution, for example, the resource distribution is completed within 24 hours after the resource is generated, the use condition of bandwidth can be detected in real time after the resource is generated, and the task to be distributed is controlled to be distributed in a delayed manner and the resource distribution can be performed as soon as possible.
And S104, when the emergency degree information is matched with the emergency task information, taking the task to be distributed as an emergency task, and controlling the real-time distribution of the task to be executed.
Wherein, the resources corresponding to the urgent task can influence the access of the user.
In an alternative embodiment, when the task to be distributed is an urgent task and the resource corresponding to the task to be distributed affects the access of the user, if the resource distributed for the task to be distributed is the resource accessed by the user in the current access process, the task to be distributed can be controlled to be distributed in real time.
In an alternative embodiment, during the process of distributing for emergency tasks, the distribution may be performed at different distribution rates according to the service requirements.
In the embodiment of the invention, the real-time distribution can be performed for the urgent task and the delay distribution can be performed for the non-urgent task, so that the distribution can be performed only for the urgent task in the peak stage, the non-urgent task can be delayed to the idle stage except the peak stage, the competing of bandwidth resources between the distribution process and the user access process can be reduced, and the influence of the distribution process on the user access is reduced. And further, the user experience can be improved.
Meanwhile, the non-urgent tasks are delayed to idle phases except the peak phase, for example, the non-urgent distribution tasks can be delayed to the non-peak phase to perform distribution, for example, the non-urgent distribution tasks are delayed to the early morning distribution, the idle phases can be fully utilized, bandwidth resources of the non-peak phases can be understood, for example, idle resources in the early morning and other periods can be avoided, unnecessary distribution tasks can be prevented from being performed in the late peak phase, the idle resources can be fully utilized, and the bandwidth cost can be reduced. In this way, both reduced bandwidth costs and improved user viewing experience can be achieved.
And bandwidth resources in a peak stage are used for distributing aiming at urgent tasks, and bandwidth resources in an idle stage are utilized for distributing aiming at non-urgent tasks, so that reasonable utilization of bandwidth resources can be realized, precious bandwidth resources are used for distributing important tasks and watching by users as much as possible, and the distribution capacity is improved.
In an alternative embodiment, as shown in fig. 2, S101: obtaining emergency information of tasks to be distributed may include:
s201, obtaining a distribution bandwidth upper limit corresponding to a task to be distributed.
The upper limit of the distribution bandwidth represents the maximum value of the available bandwidth of the service channel corresponding to the task to be distributed; the upper distribution bandwidth limit is positively correlated with the urgency of the traffic channel.
The upper limit of the distribution bandwidth corresponding to each service channel is positively correlated with the emergency degree of the service channel. The more urgent a traffic channel is, the greater the upper limit of the distribution bandwidth corresponding to the traffic channel is. The total bandwidth is limited, each service channel occupies a corresponding bandwidth according to its degree of urgency (in one way, it can be understood as the degree of importance), and the sum of the upper limits of the service bandwidths corresponding to each service channel does not exceed an upper limit at all times, in one implementation, the upper limit is 150Gbps.
The distribution bandwidth upper limit corresponding to each service channel may include a distribution bandwidth upper limit corresponding to the service channel in different time ranges.
After S201, it may further include:
s202, determining the current available bandwidth corresponding to the current time based on the upper limit of the distribution bandwidth corresponding to the task to be distributed and the bandwidth required by the task to be distributed.
Specifically, the bandwidth required by the task to be distributed may be subtracted from the upper limit of the distribution bandwidth corresponding to the current time, and the obtained difference is used as the current available bandwidth.
And S203, when the current available bandwidth does not meet the preset condition, caching the task to be distributed until the available bandwidth corresponding to the subsequent time meets the preset condition, and controlling the task to be distributed in the subsequent time.
It can be understood that S103: when the urgent degree information does not match with the urgent task information, then taking the task to be distributed as a non-urgent task, and controlling the task to be distributed to be delayed and distributed may include: when the current available bandwidth does not meet the preset condition, the task to be distributed is cached until the available bandwidth corresponding to the subsequent time meets the preset condition, and the task to be distributed is controlled to be distributed in the subsequent time.
Wherein the subsequent time is a time after the current time.
And S204, when the current available bandwidth meets the preset condition, controlling to distribute the task to be distributed at the current time.
It can be understood that S104: when the emergency degree information is matched with the emergency task information, taking the task to be distributed as the emergency task, and controlling the real-time distribution of the task to be executed can comprise: when the current available bandwidth meets the preset condition, the task to be distributed is controlled to be distributed at the current time.
Specifically, when the current available bandwidth is not greater than zero, caching the task to be distributed until the available bandwidth corresponding to the subsequent time is greater than zero, and controlling the task to be distributed; when the current available bandwidth is greater than zero, the task to be distributed is controlled to be distributed.
The current available bandwidth is a dynamically changing value, and in one implementation, when the task to be distributed is distributed, the resource size corresponding to the task to be distributed can be subtracted, and meanwhile, the distribution bandwidth upper limit value corresponding to the time is increased every second. If the current available bandwidth is less than 0, indicating that no spare bandwidth is available for distribution at the moment, the tasks to be distributed need to be cached, and the delayed tasks to be distributed have an opportunity to be distributed until the subsequent continuous accumulation (the added value per second is the preset upper limit of the distribution bandwidth) is greater than 0. Thus, when the available bandwidth corresponding to the current time period is greater than 0, the task to be distributed can be distributed, and meanwhile, the bandwidth required by the task to be distributed is subtracted from the current available bandwidth, such as the size of the resource corresponding to the task to be distributed. When the current available bandwidth is smaller than or equal to 0, the task to be distributed is controlled to be cached until the available bandwidth in the subsequent time range is accumulated to the total of the available bandwidths in the current time range to be larger than 0, and the task to be distributed is controlled to be distributed.
Thus, delay distribution through bandwidth precise control can be realized.
In an alternative embodiment, as shown in fig. 3, S201 may include:
S2011, a target service channel corresponding to the task to be distributed is obtained.
The traffic channels may be divided according to different traffic types.
And S2012, obtaining bandwidth configuration information.
The bandwidth configuration information comprises distribution bandwidth upper limits corresponding to the plurality of service channels in a plurality of time ranges.
In one implementation, the value of the upper distribution bandwidth limit may become larger as the degree of urgency increases, i.e., the higher the upper distribution bandwidth limit corresponding to the more urgent traffic channel.
The bandwidth configuration information is pre-configured and stored, and the synchronous distribution system can directly acquire the bandwidth configuration information.
A synchronous distribution system in one implementation may include a bandwidth control module through which bandwidth configuration information is periodically obtained.
S2013, analyzing the bandwidth configuration information to obtain a target distribution bandwidth upper limit corresponding to the target service channel, and taking the target distribution bandwidth upper limit as a distribution bandwidth upper limit corresponding to the task to be distributed.
In one implementation, to achieve control of the distribution rate during the distribution, S204: when the current available bandwidth meets the preset condition, controlling to distribute the task to be distributed at the current time, as shown in fig. 4, may include:
S2041, obtaining a target service channel corresponding to the task to be distributed.
S2042, obtaining rate configuration information, wherein the rate configuration information comprises distribution rates corresponding to a plurality of service channels; analyzing the rate configuration information to obtain a target distribution rate corresponding to the target service channel; and controlling the task to be distributed according to the target distribution rate.
The distribution rate can be understood as the number of tasks distributed per second.
The rate configuration information can be preconfigured and stored, and the synchronous distribution system can directly acquire the rate configuration information.
Thus, bandwidth configuration information and rate configuration information can be combined, and more accurate task distribution can be realized.
In a specific embodiment, as shown in fig. 5, the distribution center control in the synchronous distribution system may include a bandwidth control module and a rate control module. The distribution central control receives tasks through an external interface, and the tasks can comprise task 1 and task 2 and … …. After receiving the task, judging whether the bandwidth is abundant or not through the bandwidth control module, and judging whether the current available bandwidth meets the preset condition or not and is larger than 0 or not; if the bandwidth is insufficient, if the current available bandwidth is not more than 0, the task is cached, if the bandwidth is insufficient, if the current available bandwidth is more than 0, whether overspeed is distributed is judged through a speed control module, if overspeed is not, the distribution speed can be adjusted, and if overspeed is not, the task is processed, namely the task is distributed.
For example, the sum of the available traffic of the initial stage traffic channel in the time period [ a, b ] is total 1 =bandwidth 1 X (b-a), wherein, bandwidth 1 The upper limit of the distribution bandwidth for the time period (a, b) is that the service channel distribution task firstly passes through a bandwidth control module, total 1 >When 0, the task is forwarded to the rate control module for processing, and total is simultaneously carried out 1 Subtracting the task size, when total 1 <At 0, the task is cached until total in the next time interval [ b, c ] 2 =total 1 / +bandwidth 2 ×(c-b)>0, at which time the task does not continue to be processed by the rate control module, where bandwidth 2 As the upper limit of the distribution bandwidth of the time period [ b, c ], otherwise, continuing to buffer until the subsequent bandwidth is rich for distributing tasks, wherein total 1 / Is total 1 Subtracting the task size. The rate control module strictly controls the task distribution rate in the time interval, namely the task number distributed per second, for example, k, and k can be determined according to the actual service requirement.
And the distribution task consumes a preset bandwidth upper limit, and decides a follow-up distribution action according to the balance of the bandwidth, and if the balance is insufficient, the task is cached until the bandwidth is sufficient. Delay distribution is realized through bandwidth precise control, so that bandwidth competing of the distribution and the source returning caused by user access is avoided, the influence of the distribution process on the user access is reduced, the user experience is improved, bandwidth resources are reasonably utilized, and the distribution capacity is improved; and meanwhile, the idle bandwidth in the early morning is fully utilized, and the bandwidth cost is reduced.
In an alternative embodiment, S2012: obtaining bandwidth configuration information may include:
and obtaining bandwidth configuration information corresponding to CDN nodes of the content delivery network.
In one implementation, corresponding bandwidth configuration information may be configured for CDN nodes. Different CDN nodes may correspond to different bandwidth configuration information.
After obtaining the bandwidth configuration information corresponding to the CDN nodes of the content delivery network, the method may further include:
and sending bandwidth configuration information corresponding to the CDN nodes of the content delivery network to the CDN nodes, so that the CDN nodes control the tasks to be delivered according to the bandwidth configuration information.
The distribution central control synchronizes the bandwidth configuration information to the CDN nodes, and each CDN node can independently complete control over task distribution, such as bandwidth control and rate control realized by the distribution central control, so that task delay distribution of a non-emergency channel is realized, tasks of the emergency channel are timely distributed, influence of a distribution process on user access is avoided, and user experience is improved. And unnecessary distribution in the peak stage can be avoided, idle resources in the off-peak stage are fully utilized, and the bandwidth cost is reduced.
When the distribution synchronization system uniformly controls all CDN nodes through the distribution central control, the distribution rate and the bandwidth control can exert an effect on all CDN nodes, and if more strict bandwidth control is required to be carried out on part of special nodes, a strategy can be specially customized through the cloud control module, and the cloud control mode can be understood to be realized. And the control strategy is synchronized to a specific CDN node by the distribution central control, and the CDN node independently completes the accurate control of the distribution rate and the bandwidth. The bandwidth control logic of the cloud control module is the same as the logic controlled by the distribution central control, but the distribution central control is completed by the CDN node itself, and is responsible for periodically acquiring the pre-configured bandwidth configuration information, wherein the bandwidth configuration information can be a cloud control configuration table, analyzes the strategy and synchronizes to the corresponding node. Therefore, a stricter control strategy can be formulated for the individual nodes, and the control mode is more flexible.
In the service application process, the normal operation of the service may be affected due to possible configuration unreasonable of a bandwidth control policy and the like, where the bandwidth control policy may include a process of controlling task distribution by using bandwidth configuration information in the foregoing embodiment.
In order to reduce the influence of the bandwidth control strategy on the normal operation of the service, the method is suitable for the production environment to timely cope with the emergency. In an alternative embodiment of the present invention, at S2012: after obtaining the bandwidth configuration information, the method may further include:
and receiving the abnormal information fed back by the operation and maintenance system, adjusting bandwidth configuration information according to the abnormal information, and controlling the distribution of the tasks to be distributed according to the adjusted bandwidth configuration information.
Specifically, the synchronous distribution system can be in butt joint with the operation and maintenance system and receive abnormal information fed back by the operation and maintenance system. The anomaly information may include information of an anomaly occurring in the operation and maintenance process, and the like. Specifically, the anomaly may be found by means of a monitored chart or an alarm.
In one implementation, a visual interface may be provided such that configuration information, such as bandwidth configuration information, rate configuration information, etc., is adjusted via a removable interface, and the distribution center responds correctly according to the adjusted configuration information, and in particular, controls the distribution of tasks according to the adjusted configuration information.
Therefore, the influence of the bandwidth control strategy on the normal operation of the service can be reduced, and the method can adapt to the production environment to timely cope with the emergency.
Corresponding to the task distribution control method provided in the foregoing embodiment, the embodiment of the present invention further provides a task distribution control device, as shown in fig. 6, which may include:
an obtaining module 601, configured to obtain emergency degree information of a task to be distributed; the emergency degree information includes: the upper limit of the distribution bandwidth corresponding to the task to be distributed, the service type corresponding to the task to be distributed or the influence degree of any corresponding resource to be distributed on the user access;
the matching module 602 is configured to match the emergency degree information with preset emergency task information;
a control module 603, configured to, when the emergency degree information does not match the emergency task information, regard the task to be distributed as a non-emergency task, and control to delay distribution of the task to be distributed; when the emergency degree information is matched with the emergency task information, the task to be distributed is used as an emergency task, and the task to be executed is controlled to be distributed in real time.
In the embodiment of the invention, the real-time distribution can be performed for the urgent task and the delay distribution can be performed for the non-urgent task, so that the distribution can be performed only for the urgent task in the peak stage, the non-urgent task can be delayed to the idle stage except the peak stage, the competing of bandwidth resources between the distribution process and the user access process can be reduced, and the influence of the distribution process on the user access is reduced. And further, the user experience can be improved.
Alternatively, as shown in fig. 7, the obtaining module includes: an obtaining sub-module 701, configured to obtain a distribution bandwidth upper limit corresponding to a task to be distributed; the upper limit of the distribution bandwidth represents the maximum value of the available bandwidth of the service channel corresponding to the task to be distributed; the upper limit of the distribution bandwidth is positively related to the emergency degree of the service channel;
the apparatus further comprises: a determining sub-module 702, configured to determine, after obtaining the upper limit of the distribution bandwidth corresponding to the task to be distributed, a current available bandwidth corresponding to the current time based on the upper limit of the distribution bandwidth corresponding to the task to be distributed and a bandwidth required by the task to be distributed;
the control module 603 includes: a control sub-module 703, configured to cache the task to be distributed until the available bandwidth corresponding to the subsequent time meets the preset condition, and control the task to be distributed at the subsequent time when the current available bandwidth does not meet the preset condition; wherein the subsequent time is a time after the current time; when the current available bandwidth meets the preset condition, the task to be distributed is controlled to be distributed at the current time.
Optionally, the determining submodule 702 is specifically configured to subtract the bandwidth required by the task to be distributed from the upper limit of the distribution bandwidth corresponding to the current time, and take the obtained difference as the current available bandwidth;
The control submodule 703 is specifically configured to cache the task to be distributed when the current available bandwidth is not greater than zero, until the available bandwidth corresponding to the subsequent time is greater than zero, and control to distribute the task to be distributed; when the current available bandwidth is greater than zero, the task to be distributed is controlled to be distributed.
Optionally, the obtaining sub-module 701 is specifically configured to obtain a target service channel corresponding to a task to be distributed; obtaining bandwidth configuration information, wherein the bandwidth configuration information comprises distribution bandwidth upper limits corresponding to a plurality of service channels in a plurality of time ranges; analyzing the bandwidth configuration information to obtain a target distribution bandwidth upper limit corresponding to the target service channel, and taking the target distribution bandwidth upper limit as a distribution bandwidth upper limit corresponding to the task to be distributed.
Optionally, the control submodule 703 is specifically configured to obtain a target service channel corresponding to a task to be distributed; acquiring rate configuration information, wherein the rate configuration information comprises distribution rates corresponding to a plurality of service channels; analyzing the rate configuration information to obtain a target distribution rate corresponding to the target service channel; and controlling the task to be distributed according to the target distribution rate.
Optionally, the acquiring sub-module 701 is specifically configured to acquire bandwidth configuration information corresponding to a CDN node of the content delivery network;
As shown in fig. 8, the apparatus further includes a sending sub-module 704, specifically configured to send bandwidth configuration information corresponding to a CDN node of the content delivery network to the CDN node after obtaining the bandwidth configuration information corresponding to the CDN node, so that the CDN node controls a task to be delivered according to the bandwidth configuration information.
Optionally, as shown in fig. 9, the apparatus further includes: the receiving sub-module 901 is configured to receive abnormal information fed back by the operation and maintenance system after obtaining the bandwidth configuration information;
the adjusting sub-module 902 is configured to adjust bandwidth configuration information according to the anomaly information, and control the distribution of the tasks to be distributed according to the adjusted bandwidth configuration information.
The task distribution control device provided by the embodiment of the invention is a device applying the task distribution control method, so that all the embodiments of the task distribution control method are applicable to the device and can achieve the same or similar beneficial effects.
In response to the task distribution control method provided in the foregoing embodiment, the embodiment of the present invention further provides an electronic device, as shown in fig. 10, including a processor 1001, a communication interface 1002, a memory 1003, and a communication bus 1004, where the processor 1001, the communication interface 1002, and the memory 1003 complete communication with each other through the communication bus 1004.
A memory 1003 for storing a computer program;
the processor 1001 is configured to execute the program stored in the memory 1003, thereby implementing the method steps of the task distribution control method.
In the embodiment of the invention, the real-time distribution can be performed for the urgent task and the delay distribution can be performed for the non-urgent task, so that the distribution can be performed only for the urgent task in the peak stage, the non-urgent task can be delayed to the idle stage except the peak stage, the competing of bandwidth resources between the distribution process and the user access process can be reduced, and the influence of the distribution process on the user access is reduced. And further, the user experience can be improved.
The communication bus mentioned by the above terminal may be a peripheral component interconnect standard (Peripheral Component Interconnect, abbreviated as PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated as EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the terminal and other devices.
The memory may include random access memory (Random Access Memory, RAM) or non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but also digital signal processors (Digital Signal Processing, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
In yet another embodiment of the present invention, a computer readable storage medium having instructions stored therein, which when run on a computer, cause the computer to perform the method steps of the above-described task distribution control method is also provided.
In the embodiment of the invention, the real-time distribution can be performed for the urgent task and the delay distribution can be performed for the non-urgent task, so that the distribution can be performed only for the urgent task in the peak stage, the non-urgent task can be delayed to the idle stage except the peak stage, the competing of bandwidth resources between the distribution process and the user access process can be reduced, and the influence of the distribution process on the user access is reduced. And further, the user experience can be improved.
In a further embodiment of the present invention, a computer program product comprising instructions is also provided which, when run on a computer, causes the computer to perform the method steps of the control method of task distribution described above.
In the embodiment of the invention, the real-time distribution can be performed for the urgent task and the delay distribution can be performed for the non-urgent task, so that the distribution can be performed only for the urgent task in the peak stage, the non-urgent task can be delayed to the idle stage except the peak stage, the competing of bandwidth resources between the distribution process and the user access process can be reduced, and the influence of the distribution process on the user access is reduced. And further, the user experience can be improved.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present invention, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the apparatus, electronic device, computer readable storage medium, and computer program product embodiments, the description is relatively simple, as relevant to the method embodiments being referred to in the section of the description of the method embodiments.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (8)

1. A method for controlling task distribution, comprising:
obtaining emergency degree information of tasks to be distributed; the emergency degree information includes: the distribution bandwidth upper limit corresponding to the task to be distributed, the service type corresponding to the task to be distributed or the influence degree of the resource corresponding to the task to be distributed on the user access;
matching the emergency degree information with preset emergency task information;
when the emergency degree information is not matched with the emergency task information, the task to be distributed is used as a non-emergency task, and the task to be distributed is controlled to be distributed in a delayed mode;
when the emergency degree information is matched with the emergency task information, the task to be distributed is used as an emergency task, and the task to be distributed is controlled to be distributed in real time;
the obtaining the emergency degree information of the tasks to be distributed comprises the following steps:
acquiring a distribution bandwidth upper limit corresponding to a task to be distributed; the distribution bandwidth upper limit represents the maximum value of the available bandwidth of the service channel corresponding to the task to be distributed; the distribution bandwidth upper limit is positively correlated with the urgency of the service channel;
After the upper limit of the distribution bandwidth corresponding to the task to be distributed is obtained, the method further comprises:
determining a current available bandwidth corresponding to the current time based on a distribution bandwidth upper limit corresponding to the task to be distributed and a bandwidth required by the task to be distributed;
and when the emergency degree information is not matched with the emergency task information, taking the task to be distributed as a non-emergency task, and controlling the task to be distributed in a delayed manner, wherein the method comprises the following steps:
when the current available bandwidth does not meet a preset condition, caching the task to be distributed until the available bandwidth corresponding to the subsequent time meets the preset condition, and controlling the task to be distributed in the subsequent time; wherein the subsequent time is a time subsequent to the current time;
and when the emergency degree information is matched with the emergency task information, taking the task to be distributed as an emergency task, and controlling the task to be distributed in real time, wherein the method comprises the following steps:
when the current available bandwidth meets the preset condition, controlling to distribute the task to be distributed at the current time;
the obtaining the distribution bandwidth upper limit corresponding to the task to be distributed includes:
Obtaining a target service channel corresponding to the task to be distributed;
obtaining bandwidth configuration information, wherein the bandwidth configuration information comprises distribution bandwidth upper limits corresponding to a plurality of service channels in a plurality of time ranges;
analyzing the bandwidth configuration information to obtain a target distribution bandwidth upper limit corresponding to the target service channel, and taking the target distribution bandwidth upper limit as a distribution bandwidth upper limit corresponding to the task to be distributed.
2. The method according to claim 1, wherein the determining the current available bandwidth corresponding to the current time based on the upper distribution bandwidth limit corresponding to the task to be distributed and the bandwidth required by the task to be distributed comprises:
subtracting the bandwidth required by the task to be distributed from the upper limit of the distribution bandwidth corresponding to the current time, and taking the obtained difference value as the current available bandwidth;
when the current available bandwidth does not meet a preset condition, caching the task to be distributed until the available bandwidth corresponding to the subsequent time meets the preset condition, and controlling the task to be distributed to the subsequent time, wherein the method comprises the following steps of:
when the current available bandwidth is not greater than zero, caching the task to be distributed until the available bandwidth corresponding to the subsequent time is greater than zero, and controlling the task to be distributed;
And when the current available bandwidth meets the preset condition, controlling the task to be distributed at the current time, including:
and when the current available bandwidth is greater than zero, controlling the task to be distributed.
3. The method according to claim 1, wherein controlling the distribution of the task to be distributed at the current time when the current available bandwidth satisfies the preset condition comprises:
obtaining a target service channel corresponding to the task to be distributed;
acquiring rate configuration information, wherein the rate configuration information comprises distribution rates corresponding to a plurality of service channels;
analyzing the rate configuration information to obtain a target distribution rate corresponding to the target service channel;
and controlling the task to be distributed according to the target distribution rate.
4. The method of claim 1, wherein the obtaining bandwidth configuration information comprises:
acquiring bandwidth configuration information corresponding to CDN nodes of a content delivery network;
after the obtaining the bandwidth configuration information corresponding to the CDN node, the method further includes:
And sending bandwidth configuration information corresponding to the CDN node, so that the CDN node controls the task to be distributed according to the bandwidth configuration information.
5. The method of claim 1, wherein after the obtaining bandwidth configuration information, the method further comprises:
and receiving abnormal information fed back by the operation and maintenance system, adjusting the bandwidth configuration information according to the abnormal information, and controlling the distribution of the tasks to be distributed according to the adjusted bandwidth configuration information.
6. A control device for task distribution, comprising:
the obtaining module is used for obtaining the emergency degree information of the tasks to be distributed; the emergency degree information includes: the distribution bandwidth upper limit corresponding to the task to be distributed, the service type corresponding to the task to be distributed or the influence degree of the resource corresponding to the task to be distributed on the user access;
the matching module is used for matching the emergency degree information with preset emergency task information;
the control module is used for taking the task to be distributed as a non-urgent task when the urgent degree information is not matched with the urgent task information and controlling the task to be distributed in a delayed manner; when the emergency degree information is matched with the emergency task information, the task to be distributed is used as an emergency task, and the task to be distributed is controlled to be distributed in real time;
The obtaining module includes:
the acquisition sub-module is used for acquiring the distribution bandwidth upper limit corresponding to the task to be distributed; the distribution bandwidth upper limit represents the maximum value of the available bandwidth of the service channel corresponding to the task to be distributed; the distribution bandwidth upper limit is positively correlated with the urgency of the service channel;
the apparatus further comprises:
the determining submodule is used for determining the current available bandwidth corresponding to the current time based on the distribution bandwidth upper limit corresponding to the task to be distributed and the bandwidth required by the task to be distributed after the distribution bandwidth upper limit corresponding to the task to be distributed is acquired;
the control module includes:
the control sub-module is used for caching the task to be distributed when the current available bandwidth does not meet a preset condition, and controlling the task to be distributed in the subsequent time until the available bandwidth corresponding to the subsequent time meets the preset condition; wherein the subsequent time is a time subsequent to the current time; when the current available bandwidth meets the preset condition, controlling to distribute the task to be distributed at the current time;
the obtaining submodule is specifically configured to obtain a target service channel corresponding to the task to be distributed; obtaining bandwidth configuration information, wherein the bandwidth configuration information comprises distribution bandwidth upper limits corresponding to a plurality of service channels in a plurality of time ranges; analyzing the bandwidth configuration information to obtain a target distribution bandwidth upper limit corresponding to the target service channel, and taking the target distribution bandwidth upper limit as a distribution bandwidth upper limit corresponding to the task to be distributed.
7. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for carrying out the method steps of any one of claims 1-5 when executing a program stored on a memory.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored therein a computer program which, when executed by a processor, implements the method steps of any of claims 1-5.
CN202010954277.3A 2020-09-11 2020-09-11 Task distribution control method and device, electronic equipment and storage medium Active CN112099949B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010954277.3A CN112099949B (en) 2020-09-11 2020-09-11 Task distribution control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010954277.3A CN112099949B (en) 2020-09-11 2020-09-11 Task distribution control method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112099949A CN112099949A (en) 2020-12-18
CN112099949B true CN112099949B (en) 2023-09-05

Family

ID=73752397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010954277.3A Active CN112099949B (en) 2020-09-11 2020-09-11 Task distribution control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112099949B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8977776B1 (en) * 2012-06-18 2015-03-10 Amazon Technologies, Inc. Content streaming with bandwidth management
WO2018098820A1 (en) * 2016-12-02 2018-06-07 深圳前海达闼云端智能科技有限公司 Method and device for sending and receiving data, server, and computer program product
CN109784646A (en) * 2018-12-14 2019-05-21 深圳壹账通智能科技有限公司 Method for allocating tasks, device, storage medium and server
WO2019141133A1 (en) * 2018-01-19 2019-07-25 阿里巴巴集团控股有限公司 Task processing method, device and machine readable medium
CN110290199A (en) * 2019-06-21 2019-09-27 北京奇艺世纪科技有限公司 Content delivery method, device and equipment
CN111371705A (en) * 2020-02-24 2020-07-03 维沃移动通信有限公司 A download task execution method and electronic device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8250191B2 (en) * 2007-09-06 2012-08-21 Pando Networks, Inc. Methods and apparatus for cooperative file distribution with target data delivery rate
US10698785B2 (en) * 2017-05-30 2020-06-30 International Business Machines Corporation Task management based on an access workload

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8977776B1 (en) * 2012-06-18 2015-03-10 Amazon Technologies, Inc. Content streaming with bandwidth management
WO2018098820A1 (en) * 2016-12-02 2018-06-07 深圳前海达闼云端智能科技有限公司 Method and device for sending and receiving data, server, and computer program product
WO2019141133A1 (en) * 2018-01-19 2019-07-25 阿里巴巴集团控股有限公司 Task processing method, device and machine readable medium
CN109784646A (en) * 2018-12-14 2019-05-21 深圳壹账通智能科技有限公司 Method for allocating tasks, device, storage medium and server
CN110290199A (en) * 2019-06-21 2019-09-27 北京奇艺世纪科技有限公司 Content delivery method, device and equipment
CN111371705A (en) * 2020-02-24 2020-07-03 维沃移动通信有限公司 A download task execution method and electronic device

Also Published As

Publication number Publication date
CN112099949A (en) 2020-12-18

Similar Documents

Publication Publication Date Title
CN109819057B (en) Load balancing method and system
US10880226B2 (en) Scheduled transmission of data
US10979491B2 (en) Determining load state of remote systems using delay and packet loss rate
CN106330757B (en) Flow control method and device
US20170126583A1 (en) Method and electronic device for bandwidth allocation based on online media services
EP2426871B1 (en) Method and device for scheduling data communication input ports
CN104348647B (en) Multi-source bandwidth scheduling method, apparatus and system
CN110858808A (en) Method, system and device for realizing speed limit
CN111614473B (en) Method, device and system for determining IDC (Internet data center) available at highest bandwidth and electronic equipment
CN110830964B (en) Information scheduling method, internet of things platform and computer readable storage medium
CN108989368B (en) Link quality control method and monitoring equipment
CN107733805B (en) Service load scheduling method and device
WO2015014176A1 (en) Method, device, scheduling server and system for network allocation
WO2017075967A1 (en) Bandwidth allocation method and system for on-line media service
WO2020056633A1 (en) Method for estimating network rate and estimation device
WO2021083196A1 (en) Network traffic migration method and apparatus
CN113079062A (en) Resource adjusting method and device, computer equipment and storage medium
CN112231100A (en) Queue resource adjusting method and device, electronic equipment and computer readable medium
CN113835905B (en) Message queue load balancing method and device, electronic equipment and medium
CN110099292B (en) Data center node determination method and device and electronic equipment
CN107846614B (en) Video traffic scheduling method and device and electronic equipment
CN112099949B (en) Task distribution control method and device, electronic equipment and storage medium
EP4131972B1 (en) Video stream transmission control method and apparatus, device, and medium
CN114153609A (en) Resource control method and device, electronic equipment and computer readable storage medium
CN113949741A (en) Scheduling method, scheduling device, electronic equipment and storage medium

Legal Events

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