CN114124819A - Flow distribution control method and device, storage medium and computer equipment - Google Patents

Flow distribution control method and device, storage medium and computer equipment Download PDF

Info

Publication number
CN114124819A
CN114124819A CN202111233564.6A CN202111233564A CN114124819A CN 114124819 A CN114124819 A CN 114124819A CN 202111233564 A CN202111233564 A CN 202111233564A CN 114124819 A CN114124819 A CN 114124819A
Authority
CN
China
Prior art keywords
functional interface
traffic distribution
ratio
state data
preset
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.)
Granted
Application number
CN202111233564.6A
Other languages
Chinese (zh)
Other versions
CN114124819B (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 Lewo Wuxian Technology Co ltd
Original Assignee
Beijing Lewo Wuxian 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 Lewo Wuxian Technology Co ltd filed Critical Beijing Lewo Wuxian Technology Co ltd
Priority to CN202111233564.6A priority Critical patent/CN114124819B/en
Publication of CN114124819A publication Critical patent/CN114124819A/en
Application granted granted Critical
Publication of CN114124819B publication Critical patent/CN114124819B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control

Landscapes

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

Abstract

The disclosure relates to a flow distribution control method, a flow distribution control device, a storage medium and a computer device. Wherein, the method comprises the following steps: carrying out flow distribution on the first functional interface and the second functional interface based on a preset flow distribution proportion; acquiring first operation state data of the first functional interface and second operation state data of the second functional interface; evaluating the operating state of the second functional interface according to the first operating state data and the second operating state data to obtain an evaluation result; and adjusting the flow distribution of the first functional interface and the second functional interface according to the evaluation result. The method and the device can solve the problems that the burst problem cannot be found in time and the distribution of the flow cannot be adjusted in time in the flow distribution process.

Description

Flow distribution control method and device, storage medium and computer equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for controlling traffic distribution, a storage medium, and a computer device.
Background
When the software is iterated in daily versions, upgrading and transformation of old functional interfaces cannot be avoided, and in order to avoid compatibility problems which may occur in new versions, smooth transition of new and old versions is achieved through distribution of user access traffic, and online risks are reduced. Therefore, how to reasonably control the traffic distribution, find out the sudden problem occurring in the traffic distribution process in time and adjust the traffic distribution in time becomes a problem to be solved urgently.
Disclosure of Invention
The present disclosure provides a traffic distribution control method, apparatus, storage medium, and computer device, to at least solve the problem in the related art that a burst problem cannot be found in time and a traffic distribution cannot be adjusted in time in a traffic distribution process. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a traffic distribution control method, including:
carrying out flow distribution on the first functional interface and the second functional interface based on a preset flow distribution proportion;
acquiring first operation state data of a first functional interface and second operation state data of a second functional interface;
evaluating the operating state of the second functional interface according to the first operating state data and the second operating state data to obtain an evaluation result;
and adjusting the flow distribution of the first functional interface and the second functional interface according to the evaluation result.
According to one embodiment of the present disclosure, adjusting traffic distribution of the first functional interface and the second functional interface according to the evaluation result includes:
adjusting the flow distribution ratio according to the evaluation result;
based on the adjusted flow distribution proportion, carrying out flow distribution on the first functional interface and the second functional interface again, and executing the step of acquiring first operation state data of the first functional interface and second operation state data of the second functional interface;
determining the traffic distribution proportion of the second functional interface;
and ending the traffic distribution in response to the traffic distribution ratio of the second functional interface meeting a preset condition.
According to one embodiment of the present disclosure, adjusting the traffic distribution ratio according to the evaluation result includes:
in response to the evaluation result meeting the preset requirement, increasing the second traffic distribution ratio of the second functional interface, reducing the first traffic distribution ratio of the first functional interface, and obtaining an adjusted traffic distribution ratio according to the increased second traffic distribution ratio and the reduced first traffic distribution ratio; or,
and in response to the evaluation result not meeting the preset requirement, reducing the second traffic distribution ratio of the second functional interface, increasing the first traffic distribution ratio of the first functional interface, and obtaining the adjusted traffic distribution ratio according to the reduced second traffic distribution ratio and the increased first traffic distribution ratio.
According to an embodiment of the present disclosure, evaluating the operation state of the second functional interface according to the first operation state data and the second operation state data to obtain an evaluation result includes:
acquiring a plurality of preset evaluation indexes;
obtaining a preset score of each evaluation index and a score standard of the evaluation index;
calculating an evaluation index value of each evaluation index according to the first operation state data and the second operation state data;
determining at least one target evaluation index of which the evaluation index value meets the corresponding score standard from the plurality of evaluation indexes, and adding the scores of each target evaluation index to obtain a total evaluation score;
the fraction is calculated from the estimated total fraction.
According to an embodiment of the present disclosure, in response to the evaluation result satisfying a preset requirement, increasing a second traffic distribution duty ratio of the second functional interface and decreasing a first traffic distribution duty ratio of the first functional interface includes:
in response to the score ratio being greater than or equal to a first preset threshold, increasing the traffic distribution ratio of the second functional interface and decreasing the traffic distribution ratio of the first functional interface;
wherein the increase of the traffic distribution ratio of the second functional interface is equal to the decrease of the traffic distribution ratio of the first functional interface.
According to an embodiment of the present disclosure, in response to the evaluation result failing to satisfy the preset requirement, decreasing the second traffic distribution duty ratio of the second functional interface and increasing the first traffic distribution duty ratio of the first functional interface includes:
in response to the score ratio being smaller than a second preset threshold, reducing the traffic distribution ratio of the second functional interface and increasing the traffic distribution ratio of the first functional interface; the first preset threshold is larger than the second preset threshold;
and the reduction amount of the traffic distribution ratio of the second functional interface is equal to the increase amount of the traffic distribution ratio of the first functional interface.
According to one embodiment of the disclosure, after calculating the score from the estimated total score, the method further comprises:
and in response to the score ratio being smaller than a first preset threshold value and larger than or equal to a second preset threshold value, executing a step of acquiring first operation state data of the first functional interface and second operation state data of the second functional interface after preset time.
According to one embodiment of the disclosure, the method further comprises:
determining the time for carrying out flow distribution for the first time;
counting the total time of flow distribution according to the time of flow distribution for the first time;
and controlling the adjusting frequency of the flow distribution proportion according to the total flow distribution time length and the preset minimum flow distribution time length.
According to a second aspect of the embodiments of the present disclosure, there is provided a traffic distribution control apparatus including:
the distribution module is used for carrying out flow distribution on the first functional interface and the second functional interface based on a preset flow distribution proportion;
the acquisition module is used for acquiring first operation state data of the first functional interface and second operation state data of the second functional interface;
the evaluation module is used for evaluating the operation state of the second functional interface according to the first operation state data and the second operation state data to obtain an evaluation result;
and the adjusting module is used for adjusting the flow distribution of the first functional interface and the second functional interface according to the evaluation result.
According to one embodiment of the disclosure, the adjustment module includes:
the proportion adjustment submodule is used for adjusting the flow distribution proportion according to the evaluation result;
the flow distribution submodule is used for carrying out flow distribution on the first functional interface and the second functional interface again based on the adjusted flow distribution proportion and executing the step of acquiring first operation state data of the first functional interface and second operation state data of the second functional interface;
the proportion determining submodule is used for determining the traffic distribution proportion of the second functional interface;
and the ending submodule is used for responding to the flow distribution ratio of the second functional interface to meet the preset condition and ending the flow distribution.
According to one embodiment of the disclosure, the scale adjustment submodule includes:
the first adjusting unit is used for responding to the evaluation result that the preset requirement is met, increasing the second traffic distribution ratio of the second functional interface, reducing the first traffic distribution ratio of the first functional interface, and obtaining the adjusted traffic distribution ratio according to the increased second traffic distribution ratio and the reduced first traffic distribution ratio; or,
and the second adjusting unit is used for responding to the evaluation result that the preset requirement is not met, reducing the second traffic distribution ratio of the second functional interface, increasing the first traffic distribution ratio of the first functional interface, and obtaining the adjusted traffic distribution ratio according to the reduced second traffic distribution ratio and the increased first traffic distribution ratio.
According to one embodiment of the disclosure, an evaluation module includes:
the first obtaining submodule is used for obtaining a plurality of preset evaluation indexes;
the second acquisition submodule is used for acquiring a score preset for each evaluation index and a score standard of the evaluation index;
the first calculation submodule is used for calculating an evaluation index value of each evaluation index according to the first operation state data and the second operation state data;
the determining submodule is used for determining at least one target evaluation index of which the evaluation index value meets the corresponding score standard from the plurality of evaluation indexes, and adding the scores of all the target evaluation indexes to obtain an evaluation total score;
and the second calculating submodule is used for calculating the fraction according to the evaluation total fraction value.
According to an embodiment of the present disclosure, the first adjusting unit includes:
the first adjusting subunit is used for responding to the fact that the score ratio is larger than or equal to a first preset threshold value, increasing the traffic distribution ratio of the second functional interface and reducing the traffic distribution ratio of the first functional interface;
wherein the increase of the traffic distribution ratio of the second functional interface is equal to the decrease of the traffic distribution ratio of the first functional interface.
According to an embodiment of the present disclosure, the second adjusting unit includes:
the second adjusting subunit is used for responding to the fact that the score ratio is smaller than a second preset threshold value, reducing the traffic distribution ratio of the second functional interface and increasing the traffic distribution ratio of the first functional interface; the first preset threshold is larger than the second preset threshold;
and the reduction amount of the traffic distribution ratio of the second functional interface is equal to the increase amount of the traffic distribution ratio of the first functional interface.
According to an embodiment of the present disclosure, further comprising:
and the execution module is used for responding to the fact that the score is smaller than a first preset threshold and larger than or equal to a second preset threshold after the score is calculated according to the evaluation total score, and executing the step of acquiring first operation state data of the first functional interface and second operation state data of the second functional interface after preset time.
According to an embodiment of the present disclosure, further comprising:
the determining module is used for determining the time for carrying out flow distribution for the first time;
the statistical module is used for counting the total time of flow distribution according to the time of flow distribution for the first time;
and the control module is used for controlling the adjusting frequency of the flow distribution proportion according to the total flow distribution time length and the preset minimum flow distribution time length.
According to a third aspect of embodiments of the present disclosure, there is provided a storage medium having instructions that, when executed by a processor of a computer device, enable the computer device to perform the traffic distribution control method of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the traffic distribution control method of the first aspect when executing the computer program.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the method comprises the steps of evaluating the operating state of a second functional interface by acquiring first operating state data of a first functional interface and second operating state data of the second functional interface, and adjusting flow distribution of the first functional interface and the second functional interface according to an evaluation result, so that the operating state of the second functional interface is monitored, and the cost of manual monitoring is reduced; in addition, according to the evaluation result, the flow distribution of the first functional interface and the second functional interface is adjusted, so that when the second functional interface goes wrong in operation, the flow distribution proportion can be adjusted in time according to the operation state of the second functional interface, and risks such as downtime and avalanche caused by untimely manual adjustment of the flow distribution proportion are avoided.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a flow chart illustrating a method of traffic distribution control according to an exemplary embodiment;
FIG. 2 is a flow chart illustrating another method of traffic distribution control according to an exemplary embodiment;
FIG. 3 is a flow chart illustrating yet another method of traffic distribution control according to an exemplary embodiment;
FIG. 4 is a flow chart illustrating yet another method of traffic distribution control according to an exemplary embodiment;
FIG. 5 is a flow chart diagram illustrating a method of traffic distribution control in accordance with another exemplary embodiment;
FIG. 6 is a flow chart illustrating a method of traffic distribution control in accordance with an exemplary embodiment;
fig. 7 is a block diagram illustrating a configuration of a traffic distribution control apparatus according to an exemplary embodiment;
FIG. 8 is a block diagram illustrating a computer device in accordance with an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
It should be noted that, when the daily version of the software is iterated, upgrading and reconstruction of the old functional interface cannot be avoided, and in order to avoid compatibility problems that may occur in the new version, smooth transition of the new and old versions needs to be achieved through distribution of user access traffic, so that the risk of online is reduced. Therefore, how to reasonably control the traffic distribution, find out the burst problem occurring in the traffic distribution process in time, and adjust the traffic distribution in time becomes a problem to be solved urgently.
Based on the above problems, the present disclosure provides a flow distribution control method, apparatus, storage medium, and computer device, which can continuously monitor the operating state of a new function interface according to acquired operating state data, and timely adjust the user access flow of the new function interface according to the operating state, so that flow distribution can be timely ended when a sudden problem occurs in the flow distribution process, and the risk of downtime and avalanche is reduced.
The following first describes the related art terms to which the present disclosure relates:
the term "avalanche" refers to the phenomenon that a service caller is unavailable due to unavailability of a service provider, and such unavailability gradually expands during production.
The term "monitoring system" is software for monitoring the running state of a product (such as cpu, memory, disk IO, request amount, etc.) in real time, and mainly has the functions of early warning and finding faults in advance in time and providing detailed data afterwards for tracing and positioning problems. Common monitoring systems include Nagios (a free network monitoring tool for open source), Zabbix (an enterprise-level open source solution providing distributed system monitoring and network monitoring functions based on a WEB interface), and the like.
Fig. 1 is a flow chart illustrating a traffic distribution control method according to an example embodiment.
It should be noted that the traffic distribution control method in the embodiment of the present disclosure may be applied to a traffic distribution control device in the embodiment of the present disclosure, and the device may be configured in an electronic device. As shown in fig. 1, the traffic distribution control method includes the steps of:
step 101, performing traffic distribution on the first functional interface and the second functional interface based on a preset traffic distribution ratio.
It should be noted that the traffic may refer to user access traffic, the first functional interface may be an old functional interface of the software during version iteration, and the second functional interface may be a new functional interface of the software during version iteration.
In the embodiment of the present disclosure, the traffic distribution ratio may refer to a ratio of the traffic of the second functional interface to the traffic of the first functional interface. As an example, the preset traffic distribution ratio may be understood as an initial value in controlling traffic distribution to the second functional interface and the first functional interface. For example, the initial value may be 0: 100, i.e. distributing all traffic to the first functional interface, at this time, the traffic of the second functional interface is 0. As another example, the initial value may be randomly set according to the actual situation, such as 20: 80. alternatively, the traffic ratio of the second functional interface may be set to a smaller value, and the traffic of the first functional interface may be set to a larger value, so that the traffic of the second functional interface is increased step by step according to the operating state of the second functional interface.
Step 102, acquiring first operation state data of a first functional interface and second operation state data of a second functional interface.
As a possible example, the monitoring system may be used to monitor the operating status of the first functional interface and the second functional interface, thereby obtaining the first operating status data and the second operating status data in the monitoring system.
In this embodiment, the first operating state data and the second operating state data include at least one or more of the following items 1) to 2): 1) an error rate; 2) the response time.
It should be noted that the content included in the check report may be determined according to actual situations. Several examples will be given below to respectively describe the contents contained in the collation report.
As an example of one possible implementation, the first operational status data and the second operational status data may include an error rate.
As an example of one possible implementation, the first operational state data and the second operational state data may include response times.
As an example of one possible implementation, the first operational state data and the second operational state data may include an error rate and a response time.
It should be noted that the error rate is the number of times of error of the request interface/the total number of times of the request interface × 100%, and the request interface error may refer to an error or an abnormal state in the process of processing the request by the server, or the server may know that the request cannot be completed using the current hardware and software resources.
And 103, evaluating the operation state of the second functional interface according to the first operation state data and the second operation state data to obtain an evaluation result.
As a possible example, the first operating state data and the second operating state data are subjected to data analysis respectively, so as to obtain the operating states of the first functional interface and the second functional interface. And according to a preset evaluation rule, the running state of the second functional interface is combined and compared with the running state of the first functional interface, so that the running state of the second functional interface is evaluated.
It should be noted that, in the embodiment of the present disclosure, the evaluation rule may be set by comparing the operating state of the second functional interface with the operating state of the first functional interface based on the operating state data of the second functional interface, such as the error rate and the response time, and the operating state data of the first functional interface, for example, if the ratio of the average error rate of the second functional interface to the average error rate of the first functional interface is less than a preset value of 1.15, that is, the ratio of the average error rate of the second functional interface to the average error rate of the first functional interface is less than 20:23, it is proved that the operating state of the second functional interface is better than the operating state of the first functional interface in terms of the error rate.
And 104, adjusting the flow distribution of the first functional interface and the second functional interface according to the evaluation result.
It can be understood that the flow of the first functional interface and the flow of the second functional interface are adjusted according to the evaluation result of the operating state of the second functional interface. As one possible example, the traffic of the first functional interface may be increased and the traffic of the second functional interface may be decreased; as another possible example, the traffic of the first functional interface may be reduced and the traffic of the second functional interface may be increased; as yet another possible example, the traffic of the first functional interface and the second functional interface remains unchanged.
According to the flow distribution control method of the embodiment of the disclosure, the operation state of the second functional interface is evaluated by acquiring the first operation state data of the first functional interface and the second operation state data of the second functional interface, and the flow distribution of the first functional interface and the second functional interface is adjusted according to the evaluation result, so that the operation state of the second functional interface is monitored, and the cost of manual monitoring is reduced; in addition, when the second functional interface has a problem in operation, the flow distribution ratio can be adjusted in time according to the operation state of the second functional interface, and the risks of downtime, avalanche and the like caused by untimely manual adjustment of the flow distribution ratio are avoided.
In order to ensure that the traffic distribution to the first functional interface and the second functional interface is continuously adjusted until a preset condition is met, the traffic distribution is ended, optionally, the traffic distribution duty ratio of the second functional interface is determined, and based on the preset condition, it is determined whether the step of obtaining the first operating state data of the first functional interface and the second operating state data of the second functional interface needs to be repeatedly executed. Fig. 2 is a flow chart illustrating another method of traffic distribution control according to an example embodiment. In some embodiments of the present disclosure, as shown in fig. 2, the traffic distribution control method includes:
step 201, performing traffic distribution on the first functional interface and the second functional interface based on a preset traffic distribution ratio.
In the embodiment of the present disclosure, step 201 may be implemented by respectively adopting any one of the embodiments of the present disclosure, which is not limited in the embodiment of the present disclosure and is not described again.
Step 202, acquiring first operation state data of the first functional interface and second operation state data of the second functional interface.
In the embodiment of the present disclosure, step 202 may be implemented by any one of the embodiments of the present disclosure, and the embodiments of the present disclosure do not limit this and are not described again.
And step 203, evaluating the operation state of the second functional interface according to the first operation state data and the second operation state data to obtain an evaluation result.
In the embodiment of the present disclosure, step 203 may be implemented by respectively adopting any one of the embodiments of the present disclosure, and this is not limited in the embodiment of the present disclosure and is not described again.
And step 204, adjusting the flow distribution ratio according to the evaluation result.
It can be understood that the flow distribution ratio of the first functional interface and the second functional interface is adjusted according to the evaluation result of the operating state of the second functional interface.
Step 205, based on the adjusted flow distribution ratio, performing flow distribution again on the first functional interface and the second functional interface, and executing the step of obtaining the first operation state data of the first functional interface and the second operation state data of the second functional interface, that is, returning to execute the step 202.
It can be understood that after the traffic distribution is performed on the first functional interface and the second functional interface again, as the traffic of the first functional interface and the second functional interface changes, the operating states of the first functional interface and the second functional interface change, and the first operating state data of the first functional interface and the second operating state data of the second functional interface also change. Therefore, the first operation state data of the first functional interface and the second operation state data of the second functional interface need to be obtained again, and the operation state of the second functional interface is evaluated according to the first operation state data and the second operation state data to obtain an evaluation result.
Step 206, determining the traffic distribution proportion of the second functional interface.
In the disclosed embodiment, the current traffic distribution duty of the second functional interface may be determined. For example, the current traffic distribution ratio of the second functional interface is determined according to the adjusted traffic distribution ratio, for example, if the traffic distribution ratio of the second functional interface to the first functional interface is 8:2, the current traffic distribution ratio of the second functional interface is 8/(8+2) × 100% — 80%.
And step 207, in response to that the traffic distribution ratio of the second functional interface meets the preset condition, ending the traffic distribution.
It can be understood that the traffic distribution control method of the embodiment of the present disclosure has a final purpose of gradually allocating all traffic to the second functional interface.
It should be noted that, as a possible example, the preset condition may be understood as a condition for controlling the end of traffic distribution, and the proportion may be preset according to the actual situation. For example, a first preset proportion and a second preset proportion may be set, where the first preset proportion is used as a determination condition for traffic distribution failure, and the second preset proportion is used as a determination condition for traffic distribution success. In this way, the traffic distribution duty ratio of the second functional interface may be compared with the first preset duty ratio and the second preset duty ratio, and in response to that the current traffic distribution duty ratio of the second functional interface is equal to the first preset duty ratio or the second preset duty ratio, the traffic distribution is ended.
As a possible example, taking the first preset occupation ratio as 0%, in response to the traffic distribution occupation ratio of the second functional interface being 0%, the traffic distribution fails, and the traffic distribution is ended.
As another possible example, taking the second preset occupation ratio as 100%, in response to that the traffic distribution occupation ratio of the second functional interface is 100%, the traffic distribution is successful, and the traffic distribution is ended.
As another possible example, taking the first preset occupation ratio as 0% and the second preset occupation ratio as 100%, in response to the traffic distribution occupation ratio of the second functional interface being greater than 0% and less than 100%, the above steps of acquiring the first operation state data of the first functional interface and the second operation state data of the second functional interface are repeatedly executed, that is, the step 202 is executed again.
According to the traffic distribution control method of the embodiment of the present disclosure, it is determined whether the above-mentioned steps of obtaining the first operation state data of the first functional interface and the second operation state data of the second functional interface need to be repeatedly executed based on a preset condition according to the traffic distribution duty ratio of the second functional interface. The method and the device realize continuous adjustment of the flow distribution proportion, perform flow distribution on the first functional interface and the second functional interface again based on the adjusted flow distribution proportion, and finish the flow distribution until the preset condition is met so as to realize continuous flow distribution on the second functional interface.
In order to adjust the traffic distribution ratio, optionally, in response to the evaluation result meeting the preset requirement, increasing a second traffic distribution ratio of the second functional interface and decreasing a first traffic distribution ratio of the first functional interface, and in response to the evaluation result not meeting the preset requirement, decreasing the second traffic distribution ratio of the second functional interface and increasing the first traffic distribution ratio of the first functional interface. Fig. 3 is a flow chart illustrating yet another traffic distribution control method according to an example embodiment. In some embodiments of the present disclosure, as shown in fig. 3, the traffic distribution control method includes:
step 301, performing traffic distribution on the first functional interface and the second functional interface based on a preset traffic distribution ratio.
In the embodiment of the present disclosure, step 301 may be implemented by respectively adopting any one of the embodiments of the present disclosure, and this is not limited in the embodiment of the present disclosure and is not described again.
Step 302, obtain first operating status data of the first functional interface and second operating status data of the second functional interface.
In the embodiment of the present disclosure, step 302 may be implemented by respectively adopting any one of the embodiments of the present disclosure, and this is not limited in the embodiment of the present disclosure and is not described again.
And step 303, evaluating the operation state of the second functional interface according to the first operation state data and the second operation state data to obtain an evaluation result.
In the embodiment of the present disclosure, step 303 may be implemented by respectively adopting any one of the embodiments of the present disclosure, and this is not limited in the embodiment of the present disclosure and is not described again.
And 304, responding to the evaluation result that the preset requirement is met, increasing the second traffic distribution ratio of the second functional interface, reducing the first traffic distribution ratio of the first functional interface, and obtaining the adjusted traffic distribution ratio according to the increased second traffic distribution ratio and the reduced first traffic distribution ratio.
It should be noted that, since the evaluation result may be a result obtained by comparing the actual ratio with a preset threshold in the evaluation rule, the preset requirement may be that the actual ratio is within a preset threshold range, that is, if the actual ratio is within the preset threshold range, the preset requirement is satisfied.
As an example, in response to the evaluation result satisfying the preset requirement, the second traffic distribution ratio of the second functional interface is increased, and the increase amount of the second traffic distribution ratio may be a preset increase amount, each time the same second traffic distribution ratio is increased. And reducing the first traffic distribution ratio of the first functional interface in response to the evaluation result meeting the preset requirement, wherein the reduction amount of the first traffic distribution ratio can be a preset reduction amount, and the same first traffic distribution ratio is reduced every time.
As yet another example, in response to the evaluation result satisfying the preset requirement, the second traffic distribution ratio of the second functional interface is increased, and the increase amount of the second traffic distribution ratio may be a randomly allocated increase amount. And in response to the evaluation result meeting the preset requirement, reducing the first traffic distribution ratio of the first functional interface, wherein the reduction amount of the first traffic distribution ratio can be a randomly allocated reduction amount.
The adjusted traffic distribution ratio is a ratio of the increased second traffic distribution ratio to the decreased first traffic distribution ratio. For example, the second traffic distribution ratio is 10%, the first traffic distribution ratio is 90%, and the traffic distribution ratio is 1:9, and in response to the evaluation result satisfying the preset requirement, the second traffic distribution ratio is increased to 20%, the first traffic distribution ratio is decreased to 80%, and the traffic distribution ratio is 2: 8.
And 305, in response to the evaluation result that the preset requirement is not met, reducing the second traffic distribution ratio of the second functional interface, increasing the first traffic distribution ratio of the first functional interface, and obtaining the adjusted traffic distribution ratio according to the reduced second traffic distribution ratio and the increased first traffic distribution ratio.
As an example, in response to the evaluation result failing to meet the preset requirement, the second traffic distribution ratio of the second functional interface is decreased, and the decrease amount of the second traffic distribution ratio may be a predetermined decrease amount, each time the same second traffic distribution ratio is decreased. And in response to the evaluation result not meeting the preset requirement, increasing the first traffic distribution ratio of the first functional interface, wherein the increase of the first traffic distribution ratio can be a preset increase, and the same first traffic distribution ratio is increased every time.
As yet another example, in response to the evaluation result failing to satisfy the preset requirement, the second traffic distribution ratio of the second functional interface is increased, and a reduction amount of the second traffic distribution ratio may be a randomly allocated reduction amount. In response to the evaluation result not meeting the preset requirement, increasing a first traffic distribution duty of the first functional interface, the increase of the first traffic distribution duty may be an increase of a random allocation.
The adjusted traffic distribution ratio is a ratio of the decreased second traffic distribution ratio to the increased first traffic distribution ratio. For example, the second traffic distribution ratio is 20%, the first traffic distribution ratio is 80%, and the traffic distribution ratio at this time is 2:8, and in response to the evaluation result failing to satisfy the preset requirement, the second traffic distribution ratio is reduced to 10%, the first traffic distribution ratio is increased to 90%, and the traffic distribution ratio at this time is 1: 9.
Step 306, based on the adjusted flow distribution ratio, performing flow distribution again on the first functional interface and the second functional interface, and executing the step of obtaining the first operation state data of the first functional interface and the second operation state data of the second functional interface, that is, returning to execute step 302.
In the embodiment of the present disclosure, step 306 may be implemented by any one of the embodiments of the present disclosure, which is not limited in this disclosure and is not described again.
Step 307, determining the traffic distribution duty of the second functional interface.
In the embodiment of the present disclosure, step 307 may be implemented by respectively adopting any one of the embodiments of the present disclosure, and this is not limited in the embodiment of the present disclosure and is not described again.
And 308, responding to the traffic distribution ratio of the second functional interface meeting the preset condition, and ending the traffic distribution.
In the embodiment of the present disclosure, step 308 may be implemented by any one of the embodiments of the present disclosure, which is not limited in this disclosure and is not described again.
According to the traffic distribution control method of the embodiment of the disclosure, after the evaluation result is obtained, in response to the evaluation result meeting the preset requirement, the second traffic distribution ratio of the second functional interface is increased, and the first traffic distribution ratio of the first functional interface is decreased; and in response to the evaluation result not meeting the preset requirement, reducing the second traffic distribution ratio of the second functional interface and increasing the first traffic distribution ratio of the first functional interface, thereby achieving the purpose of adjusting the traffic distribution ratio.
In order to accurately and intuitively embody the evaluation result, optionally, the evaluation index value of each evaluation index is calculated according to the first operation state data and the second operation state data, at least one target evaluation index with the evaluation index value meeting the corresponding score standard is determined from the plurality of evaluation indexes, the scores of each target evaluation index are added to obtain an evaluation total score, and the score is calculated according to the evaluation total score. Fig. 4 is a flow chart illustrating yet another traffic distribution control method according to an example embodiment. In some embodiments of the present disclosure, as shown in fig. 4, the traffic distribution control method includes:
step 401, performing traffic distribution on the first functional interface and the second functional interface based on a preset traffic distribution ratio.
In the embodiment of the present disclosure, step 401 may be implemented by using any one of the embodiments of the present disclosure, and this is not limited in the embodiment of the present disclosure and is not described again.
Step 402, acquiring first operation state data of a first functional interface and second operation state data of a second functional interface.
In the embodiment of the present disclosure, step 402 may be implemented by any one of the embodiments of the present disclosure, which is not limited in this embodiment of the present disclosure and is not described again.
In step 403, a plurality of preset evaluation indexes are obtained.
Optionally, in this embodiment, the evaluation index at least includes one or more of the following items 1) to 6):
1) accumulating the average error rate ratio of the first functional interface and the second functional interface;
2) accumulating the average response time ratio of the first functional interface to the second functional interface;
3) accumulating the average error rate ratio of the second functional interface in a preset time period;
4) accumulating the average response time ratio of the second functional interface in a preset time period;
5) the average error rate ratio of the first functional interface and the second functional interface is measured in real time;
6) namely the average response time ratio of the first functional interface and the second functional interface.
The above evaluation indexes 1) to 6) are explained below, respectively:
it should be noted that, the accumulated average error rate ratio of the first functional interface to the second functional interface may be a ratio of the average error rate of the first functional interface to the average error rate of the second functional interface in the current time period, and as a possible example, the current time period may be a longer time period, so as to evaluate the error rate of the first functional interface and the error rate of the second functional interface in the longer time period;
accumulating the ratio of the average response time of the first functional interface to the average response time of the second functional interface, which may be the ratio of the average response time of the first functional interface to the average response time of the second functional interface in the current time period, as a possible example, the current time period may be a longer time period, so as to evaluate the response time of the first functional interface and the response time of the second functional interface in a longer time period;
accumulating the average error rate ratio of the second functional interface in the preset time period, which may be the average error rate of the second functional interface in the current time period and the average error rate of the second functional interface in the preset time period corresponding to the current time period;
accumulating the average response time ratio of the second functional interface in the preset time period, which may be the ratio of the average response time of the second functional interface in the current time period to the average response time of the second functional interface in the preset time period corresponding to the current time period;
as a possible example, the average error rate ratio of the first functional interface to the second functional interface may be a ratio of an average error rate of the first functional interface to an average error rate of the second functional interface in a current time period, and the current time period may be a shorter time period, so as to evaluate the error rate of the first functional interface and the error rate of the second functional interface in the shorter time period.
As a possible example, the current time period may be a longer time period, so as to evaluate the response time of the first functional interface and the response time of the second functional interface within a longer time period.
It should be noted that the current time period may be a time period in which the current time is located, and a duration of the time period may be a preset duration. For example, if the current time is 12 o ' clock 1 min and the preset time duration is 1 hour, the current time period is from 11 o ' clock 1 min to 12 o ' clock 1 min.
It should be noted that the monitoring system provided in the embodiment of the present disclosure may monitor the operating states of the first functional interface and the second functional interface according to a preset frequency, where the average error rate may be an average value of all error rates acquired in a current time period, and the average response time may be an average value of all response times acquired in the current time period.
It should be noted that the specific content included in the above evaluation index may be determined according to actual situations. For example, any one or more of items 1) to 6) above may be selected as the evaluation index, or all of items 1) to 6) above may also be selected as the evaluation index.
In step 404, a score preset for each evaluation index and a score standard of the evaluation index are obtained.
It should be noted that, the steps 402, 403 and 404 do not distinguish the execution order.
Step 405, calculating an evaluation index value of each evaluation index according to the first operation state data and the second operation state data.
For example, the current time is determined to be 9:40, and the preset duration of the current time period is determined to be 1 hour, so that the current time period is 8:40-9: 40. The average error rate of the first functional interface is an average value of error rates of all the first functional interfaces acquired within 1 hour, and the average error rate of the first functional interface is calculated to be 0.009%; the average error rate of the second functional interface is an average value of error rates of all the second functional interfaces acquired within 1 hour, and the average error rate of the second functional interface is calculated to be 0.01%. Therefore, the cumulative average error rate ratio of the first functional interface to the second functional interface is 0.9.
Step 406, determining at least one target evaluation index of which the evaluation index value meets the corresponding score standard from the plurality of evaluation indexes, and adding the scores of each target evaluation index to obtain an evaluation total score.
As an example, if all of the evaluation indexes satisfy the score criterion, the scores of all the evaluation indexes are added to obtain a total evaluation score;
as another example, if all of the evaluation index values of the plurality of evaluation indexes do not satisfy the score criterion, the evaluation total score is 0.
As still another example, if some of the evaluation indexes satisfy the score criterion, the scores of the target evaluation indexes are added to obtain an evaluation total score.
Step 407, calculate the score from the estimated total score.
It should be noted that the evaluation results presented in some embodiments of the present disclosure may be score ratios.
For example, the preset score and the score standard of each evaluation index are shown in table 1.
TABLE 1 score of evaluation index and score criterion of evaluation index
Figure BDA0003316952600000111
Figure BDA0003316952600000121
Through calculation, the average error rate ratio of the cumulative second function interface in the current time period to the first function interface is 1.1, the average response time ratio of the cumulative second function interface in the current time period to the first function interface is 1.12, the average error rate ratio of the cumulative second function interface in the preset time period is 1.1, the average response time ratio of the cumulative second function interface in the preset time period is 1.3, the average error rate ratio of the immediate second function interface to the first function interface is 1.5, and the average response time ratio of the immediate second function interface to the first function interface is 1.15.
And adding the scores corresponding to other evaluation index values to obtain an evaluation total score except for the average response time ratio of the second function interface in a preset time period and the average error rate ratio of the instant second function interface and the first function interface, wherein the evaluation total score is 30+20+15+ 10-75.
Since the total score is 30+20+15+10+15+10 is 100, the score is 75/100 × 100%, which is 75%.
As an example, the preset time period does not start traffic distribution, and the monitoring system does not monitor the first functional interface and the second functional interface, at this time, the average error rate ratio of the accumulated second functional interface in the preset time period cannot be calculated, and the average response time ratio of the second functional interface in the preset time period cannot be calculated, so that the two evaluation indexes should be removed, that is, the evaluation index values of the two evaluation indexes are 0, and the total score is obtained by subtracting the scores corresponding to the two evaluation indexes.
For example, the average error rate ratio of adjacent dates of the second functional interface is accumulated to be the ratio of the average error rate of the second functional interface in the current time period to the average error rate of the second functional interface in the same time period on the previous day, and the current time is the first day of flow distribution, there is no relevant data on the previous day, and the ratio cannot be calculated, at this time, the total score is estimated to be 30+20+10 to 60, the total score is 30+20+15+10 to 75, and the score is 60/75 to 100% to 80%.
And step 408, in response to that the score ratio meets the preset requirement, increasing the second traffic distribution ratio of the second functional interface, decreasing the first traffic distribution ratio of the first functional interface, and obtaining the adjusted traffic distribution ratio according to the increased second traffic distribution ratio and the decreased first traffic distribution ratio.
In the embodiment of the present disclosure, step 408 may be implemented by adopting any one of the embodiments of the present disclosure, and this is not limited in the embodiment of the present disclosure and is not described again.
And 409, in response to that the score ratio does not meet the preset requirement, reducing the second traffic distribution ratio of the second functional interface, increasing the first traffic distribution ratio of the first functional interface, and obtaining the adjusted traffic distribution ratio according to the reduced second traffic distribution ratio and the increased first traffic distribution ratio.
In the embodiment of the present disclosure, step 409 may be implemented by any one of the embodiments of the present disclosure, which is not limited in this disclosure and is not described again.
Step 410, based on the adjusted flow distribution ratio, performing flow distribution again on the first functional interface and the second functional interface, and executing the step of obtaining the first operation state data of the first functional interface and the second operation state data of the second functional interface, that is, returning to execute step 402.
In the embodiment of the present disclosure, step 410 may be implemented by adopting any one of the embodiments of the present disclosure, and the embodiment of the present disclosure does not limit this and is not described again.
Step 411, determining the traffic distribution ratio of the second functional interface.
In the embodiment of the present disclosure, step 411 may be implemented by any one of the embodiments of the present disclosure, and the embodiments of the present disclosure do not limit this, and are not described again.
And step 412, in response to that the traffic distribution ratio of the second functional interface meets the preset condition, ending the traffic distribution.
In the embodiment of the present disclosure, step 412 may be implemented by any one of the embodiments of the present disclosure, which is not limited in this disclosure and is not described again.
According to the traffic distribution control method of the embodiment of the disclosure, the evaluation index value of each evaluation index is calculated according to the first running state data and the second running state data, at least one target evaluation index with the evaluation index value meeting the corresponding score standard is determined from the plurality of evaluation indexes, the scores of each target evaluation index are added, so that an evaluation total score is obtained, the score is calculated according to the evaluation total score, so that the evaluation result is quantitatively embodied, and the running state of the second functional interface can be accurately and visually known according to the specific score.
In order to ensure that the traffic distribution duty ratio of the second functional interface is not adjusted when the operating state of the second functional interface does not satisfy the condition for increasing the traffic distribution duty ratio of the second functional interface nor the condition for reducing the traffic distribution duty ratio of the second functional interface, optionally, in response to the score ratio being less than a first preset threshold and being greater than or equal to a second preset threshold, the step of acquiring first operating state data of the first functional interface and second operating state data of the second functional interface is performed after a preset time. Fig. 5 is a flow chart of a traffic distribution control method according to another exemplary embodiment. In some embodiments of the present disclosure, as shown in fig. 5, the traffic distribution control method includes:
step 501, distributing traffic to the first functional interface and the second functional interface based on a preset traffic distribution ratio.
In the embodiment of the present disclosure, step 501 may be implemented by any one of the embodiments of the present disclosure, which is not limited in this disclosure and is not described again.
Step 502, obtaining first operation state data of the first functional interface and second operation state data of the second functional interface.
In the embodiment of the present disclosure, step 502 may be implemented by any one of the embodiments of the present disclosure, which is not limited in this disclosure and is not described again.
Step 503, acquiring a plurality of preset evaluation indexes.
In the embodiment of the present disclosure, step 502 may be implemented by any one of the embodiments of the present disclosure, which is not limited in this disclosure and is not described again.
Step 504, obtaining the score preset for each evaluation index and the score standard of the evaluation index.
In the embodiment of the present disclosure, step 502 may be implemented by any one of the embodiments of the present disclosure, which is not limited in this disclosure and is not described again.
And 505, calculating an evaluation index value of each evaluation index according to the first operation state data and the second operation state data.
In the embodiment of the present disclosure, step 502 may be implemented by any one of the embodiments of the present disclosure, which is not limited in this disclosure and is not described again.
Step 506, at least one target evaluation index with an evaluation index value meeting the corresponding score standard is determined from the plurality of evaluation indexes, and the scores of each target evaluation index are added to obtain an evaluation total score.
In the embodiment of the present disclosure, step 502 may be implemented by any one of the embodiments of the present disclosure, which is not limited in this disclosure and is not described again.
In step 507, the score is calculated from the estimated total score.
In the embodiment of the present disclosure, step 502 may be implemented by any one of the embodiments of the present disclosure, which is not limited in this disclosure and is not described again.
In some embodiments of the present disclosure, as shown in fig. 5, the traffic distribution control method may further include step 508. Wherein step 508 comprises the steps of: and in response to the score ratio being greater than or equal to a first preset threshold, increasing the traffic distribution ratio of the second functional interface, decreasing the traffic distribution ratio of the first functional interface, and obtaining the adjusted traffic distribution ratio according to the increased second traffic distribution ratio and the decreased first traffic distribution ratio.
In the embodiment of the present disclosure, the increase amount of the traffic distribution duty of the second functional interface is equal to the decrease amount of the traffic distribution duty of the first functional interface.
In this embodiment of the present disclosure, the adjusted traffic distribution ratio is obtained according to the increased second traffic distribution ratio and the decreased first traffic distribution ratio proposed in step 508, so as to be implemented by respectively adopting any one of the embodiments of the present disclosure, which is not limited in this embodiment of the present disclosure and is not described again.
It should be noted that, since the second traffic distribution ratio should be equal to 100% added to the first traffic distribution ratio, the increase of the traffic distribution ratio of the second functional interface is equal to the decrease of the traffic distribution ratio of the first functional interface.
For example, if the traffic distribution ratio of the current second functional interface to the first functional interface is 1:9, the first traffic distribution ratio is 90%, and the second traffic distribution ratio is 10%. If the first preset threshold is determined to be 70%, the score ratio is determined to be 80%, and the score ratio is greater than the first preset threshold, the second traffic distribution ratio is increased to 20%, and the first traffic distribution ratio is decreased to 80%. Since the second traffic distribution ratio should be equal to 100% added to the first traffic distribution ratio, the first traffic distribution ratio should be reduced by 10% while the second traffic distribution ratio is increased by 10%.
In some embodiments of the present disclosure, as shown in fig. 5, the traffic distribution control method may further include a step 509. Wherein step 509 comprises the steps of: and in response to the fact that the score ratio is smaller than a second preset threshold value, reducing the traffic distribution ratio of the second functional interface, increasing the traffic distribution ratio of the first functional interface, and obtaining the adjusted traffic distribution ratio according to the reduced second traffic distribution ratio and the increased first traffic distribution ratio.
In the embodiment of the present disclosure, the first preset threshold is greater than the second preset threshold.
In the embodiment of the present disclosure, a decrease amount of the traffic distribution duty of the second functional interface is equal to an increase amount of the traffic distribution duty of the first functional interface.
In this embodiment of the present disclosure, the adjusted traffic distribution ratio obtained in step 509 according to the decreased second traffic distribution ratio and the increased first traffic distribution ratio is implemented by respectively adopting any one of the embodiments of the present disclosure, which is not limited in this embodiment of the present disclosure and is not described again.
It can be understood that the score ratio is smaller than the second preset threshold, which indicates that the operating state of the second functional interface does not reach the preset standard due to external factors such as a network and the like or internal problems of a program, and therefore the traffic distribution ratio of the second functional interface needs to be reduced, and the traffic distribution ratio of the first functional interface needs to be increased, so that traffic distribution is performed on the first functional interface and the second functional interface again based on the adjusted traffic distribution ratio.
It should be noted that, as an example of one possible implementation manner, the first preset threshold may be larger than the second preset threshold. As an example of another possible implementation, the first preset threshold may be equal to the second preset threshold
It should be noted that, since the second traffic distribution ratio should be equal to 100% added to the first traffic distribution ratio, the decrease amount of the traffic distribution ratio of the second functional interface is equal to the increase amount of the traffic distribution ratio of the first functional interface.
For example, if the traffic distribution ratio of the current second functional interface to the first functional interface is 2:8, the first traffic distribution ratio is 80%, and the second traffic distribution ratio is 20%. And determining that the second preset threshold is 50%, the score ratio is 40%, and the score ratio is smaller than the first preset threshold, reducing the second flow distribution ratio to 10%, and increasing the first flow distribution ratio to 90%. Since the second traffic distribution ratio should be equal to 100% added to the first traffic distribution ratio, the first traffic distribution ratio should be increased by 10% while the second traffic distribution ratio is decreased by 10%.
In some embodiments of the present disclosure, as shown in fig. 5, the traffic distribution control method may further include step 510. Wherein step 510 comprises the steps of: and in response to the score ratio being smaller than a first preset threshold value and larger than or equal to a second preset threshold value, executing a step of acquiring first operation state data of the first functional interface and second operation state data of the second functional interface after preset time.
It should be noted that the step of acquiring the first operation state data of the first functional interface and the second operation state data of the second functional interface may be executed multiple times according to a preset frequency. And responding to that the score ratio is smaller than a first preset threshold and larger than or equal to a second preset threshold, which shows that the running state of the second functional interface does not meet the condition of increasing the traffic distribution ratio of the second functional interface or the condition of reducing the traffic distribution ratio of the second functional interface at the moment, that is, the running state of the second functional interface has no obvious advantages compared with the running state of the first functional interface. Therefore, the operation state of the second functional interface needs to be continuously observed, and the step of acquiring the first operation state data of the first functional interface and the second operation state data of the second functional interface is executed after a preset time according to a preset frequency.
For example, if the traffic distribution ratio of the current second functional interface to the first functional interface is 2:8, the first traffic distribution ratio is 80%, and the second traffic distribution ratio is 20%. Determining that the second preset threshold is 50%, determining that the first preset threshold is 70%, determining that the score ratio is 60%, determining that the score ratio is smaller than the first preset threshold and larger than the second preset threshold, acquiring the first running state data and the second running state data again after preset time according to preset frequency, and then performing the next step.
Step 511, based on the adjusted flow distribution ratio, performing flow distribution again on the first functional interface and the second functional interface, and executing the step of obtaining the first operation state data of the first functional interface and the second operation state data of the second functional interface, that is, returning to execute the step 502.
In the embodiment of the present disclosure, step 511 is implemented by respectively adopting any one of the embodiments of the present disclosure, and this is not limited in the embodiment of the present disclosure and is not described again.
And step 512, determining the traffic distribution proportion of the second functional interface.
In the embodiment of the present disclosure, step 512 is implemented by respectively adopting any one of the embodiments of the present disclosure, and this is not limited in the embodiment of the present disclosure and is not described again.
And 513, in response to that the traffic distribution ratio of the second functional interface meets the preset condition, ending the traffic distribution.
In the embodiment of the present disclosure, step 513 is implemented by respectively adopting any one of the embodiments of the present disclosure, and this is not limited in the embodiment of the present disclosure and is not described again.
According to the traffic distribution control method of the embodiment of the disclosure, after the fraction is calculated, in response to that the fraction is smaller than a first preset threshold and greater than or equal to a second preset threshold, after a preset time, the step of acquiring first operation state data of the first functional interface and second operation state data of the second functional interface is executed, so that when the operation state of the second functional interface does not satisfy a condition of increasing a traffic distribution ratio of the second functional interface or a condition of decreasing the traffic distribution ratio of the second functional interface, the traffic distribution ratio of the second functional interface is not adjusted, and the operation state of the second functional interface is continuously observed.
In order to ensure that the total time length of traffic distribution is greater than the minimum time length of traffic distribution, optionally, according to the time of first traffic distribution, a time difference between the current time and the time of first traffic distribution is calculated, so as to count the total time length of traffic distribution. And controlling the adjusting frequency of the flow distribution proportion according to the total flow distribution time length and the preset minimum flow distribution time length. Fig. 6 is a flow chart illustrating a method of traffic distribution control according to an exemplary embodiment. In some embodiments of the present disclosure, the traffic distribution control method as shown in fig. 6 includes:
step 601, performing traffic distribution on the first functional interface and the second functional interface based on a preset traffic distribution ratio.
In the embodiment of the present disclosure, step 601 is implemented by respectively adopting any one of the embodiments of the present disclosure, which is not limited in the embodiment of the present disclosure and is not described again.
Step 602, obtain first operation status data of the first functional interface and second operation status data of the second functional interface.
In the embodiment of the present disclosure, step 601 is implemented by respectively adopting any one of the embodiments of the present disclosure, which is not limited in the embodiment of the present disclosure and is not described again.
Step 603, evaluating the operating state of the second functional interface according to the first operating state data and the second operating state data to obtain an evaluation result.
In the embodiment of the present disclosure, step 601 is implemented by respectively adopting any one of the embodiments of the present disclosure, which is not limited in the embodiment of the present disclosure and is not described again.
And step 604, adjusting the flow distribution of the first functional interface and the second functional interface according to the evaluation result.
In the embodiment of the present disclosure, step 601 is implemented by respectively adopting any one of the embodiments of the present disclosure, which is not limited in the embodiment of the present disclosure and is not described again.
Step 605, determine the time for first traffic distribution.
Step 606, according to the time of first traffic distribution, the total duration of traffic distribution is counted.
It can be understood that the total duration of traffic distribution may be a total duration from the time of first performing traffic distribution to the current time, and therefore, a time difference between the current time and the time of first performing traffic distribution is the total duration of traffic distribution.
And 607, controlling the adjusting frequency of the flow distribution proportion according to the total flow distribution time length and the preset minimum flow distribution time length.
It should be noted that, in order to meet the requirement of different service software on the total time of traffic distribution, the minimum time of traffic distribution needs to be set. For example, some service data may be generated only in the second day, the shortest traffic distribution time length needs to be set to 2 days, and some software may be configured with 1 week duration observation in order to implement smooth transition in new and old version iteration.
It can be understood that, in order to make the traffic distribution duration as close to the minimum traffic distribution duration as possible, it is necessary to set the frequency of acquiring the first operation state data and the second operation state data according to the minimum traffic distribution duration, and to adjust the magnitude of the traffic distribution ratio of the first functional interface and the magnitude of the traffic distribution ratio of the second functional interface at a single time. The lower the frequency of acquiring the first operation state data of the first functional interface and the second operation state data of the second functional interface is, the slower the speed of ending the traffic distribution is. The smaller the amplitude of the traffic distribution duty ratio of the first functional interface and the traffic distribution duty ratio of the second functional interface are adjusted at a single time, that is, the smaller the adjustment amount at each time is, the slower the speed of ending the traffic distribution is.
As an example of a possible implementation, in order to ensure that the second traffic distribution duty of the second functional interface does not decrease to 0% or increase to 100% when the minimum traffic distribution duration is not reached, a minimum traffic distribution duty and a maximum traffic distribution duty are set. As an example, when the minimum traffic distribution duration is not reached, in response to that the second traffic distribution duty is less than or equal to the minimum traffic distribution duty, or when the second traffic distribution duty is greater than or equal to the maximum traffic distribution duty, the traffic distribution of the first functional interface and the second functional interface is not adjusted, only the first operation state data of the first functional interface and the second operation state data of the second functional interface are obtained, and the operation state of the second functional interface is evaluated according to the first operation state data and the second operation state data, so as to obtain an evaluation result. When the minimum flow distribution time is reached, responding to the evaluation result that the preset requirement is met, and adjusting the flow of the second functional interface to be the total flow, namely the flow distribution ratio of the second functional interface is 100%. Continuing to evaluate the running state of the second functional interface, responding to the evaluation result meeting the preset requirement, ending the flow distribution, and successfully distributing the flow; and in response to the evaluation result not meeting the preset requirement, ending the flow distribution and failing to distribute the flow.
For example, when the minimum flow distribution duration is reached, the operating state of the second functional interface is evaluated by the first operating state data and the second operating state data, the score is obtained by calculation, the preset requirement is preset to 70%, the current score is 80%, and the flow of the second functional interface is adjusted to be the total flow because the current score is greater than 70%. Continuously evaluating the running state of the second functional interface, and ending the flow distribution in response to the fact that the score ratio is still larger than 70%, wherein the flow distribution ratio of the second functional interface is 100% at the moment, and the flow distribution is successful; and responding to the score ratio being less than 70%, and continuing to execute the step of acquiring the first operation state data of the first functional interface and the second operation state data of the second functional interface.
For example, when the minimum flow distribution duration is reached, the first operation state data and the second operation state data evaluate the operation state of the second functional interface, and the score is obtained through calculation, the preset requirement is preset to be 70%, the current score is 60%, and since the current score is less than 70%, it is indicated that the current operation state of the second functional interface does not meet the requirement, the flow distribution is ended, and the flow distribution fails.
As an example of another possible implementation, in order to ensure that the second traffic distribution duty of the second functional interface does not decrease to 0% or increase to 100% when the minimum traffic distribution duration is not reached, a minimum traffic distribution duty and a maximum traffic distribution duty are set. As an example, when the minimum traffic distribution duration is not reached, in response to the second traffic distribution duty being less than or equal to the minimum traffic distribution duty, or when the second traffic distribution duty being greater than or equal to the maximum traffic distribution duty, the frequency of obtaining the first operation state data of the first functional interface and the second operation state data of the second functional interface is adjusted, so that when the total traffic distribution duration is less than the minimum traffic distribution duration, the traffic distribution duty of the second functional interface does not decrease to 0% or increase to 100%.
According to the traffic distribution control method of the embodiment of the disclosure, the time difference between the current time and the time of the first traffic distribution is calculated according to the time of the first traffic distribution, so that the total time of the traffic distribution is counted. And controlling the adjusting frequency of the flow distribution proportion according to the total flow distribution time length and the preset minimum flow distribution time length, so that the total flow distribution time length is ensured to be larger than the minimum flow distribution time length, and the requirement of different business software on the total flow distribution time length is further met.
In order to implement the above embodiments, the present disclosure provides a flow distribution control device.
Fig. 7 is a block diagram of a flow distribution control device according to an embodiment of the present disclosure. As shown in fig. 7, the apparatus includes:
a distribution module 701, configured to distribute traffic for the first functional interface and the second functional interface based on a preset traffic distribution ratio;
an obtaining module 702, configured to obtain first operation state data of a first functional interface and second operation state data of a second functional interface;
the evaluation module 703 is configured to evaluate the operating state of the second functional interface according to the first operating state data and the second operating state data, so as to obtain an evaluation result;
and an adjusting module 704, configured to adjust traffic distribution of the first functional interface and the second functional interface according to the evaluation result.
On the basis of the foregoing embodiment, optionally, the adjusting module 704 includes:
the proportion adjustment submodule is used for adjusting the flow distribution proportion according to the evaluation result;
the flow distribution submodule is used for carrying out flow distribution on the first functional interface and the second functional interface again based on the adjusted flow distribution proportion and executing the step of acquiring first operation state data of the first functional interface and second operation state data of the second functional interface;
the proportion determining submodule is used for determining the traffic distribution proportion of the second functional interface;
and the ending submodule is used for responding to the flow distribution ratio of the second functional interface to meet the preset condition and ending the flow distribution.
On the basis of the above embodiment, optionally, the scale adjustment sub-module includes:
the first adjusting unit is used for responding to the evaluation result that the preset requirement is met, increasing the second traffic distribution ratio of the second functional interface, reducing the first traffic distribution ratio of the first functional interface, and obtaining the adjusted traffic distribution ratio according to the increased second traffic distribution ratio and the reduced first traffic distribution ratio; or,
and the second adjusting unit is used for responding to the evaluation result that the preset requirement is not met, reducing the second traffic distribution ratio of the second functional interface, increasing the first traffic distribution ratio of the first functional interface, and obtaining the adjusted traffic distribution ratio according to the reduced second traffic distribution ratio and the increased first traffic distribution ratio.
On the basis of the above embodiment, optionally, the evaluation module 703 includes:
the first obtaining submodule is used for obtaining a plurality of preset evaluation indexes;
the second acquisition submodule is used for acquiring a score preset for each evaluation index and a score standard of the evaluation index;
the first calculation submodule is used for calculating an evaluation index value of each evaluation index according to the first operation state data and the second operation state data;
the determining submodule is used for determining at least one target evaluation index of which the evaluation index value meets the corresponding score standard from the plurality of evaluation indexes, and adding the scores of all the target evaluation indexes to obtain an evaluation total score;
and the second calculating submodule is used for calculating the fraction according to the evaluation total fraction value.
On the basis of the foregoing embodiment, optionally, the first adjusting unit includes:
the first adjusting subunit is used for responding to the fact that the score ratio is larger than or equal to a first preset threshold value, increasing the traffic distribution ratio of the second functional interface and reducing the traffic distribution ratio of the first functional interface;
in the embodiment of the present disclosure, the increase amount of the traffic distribution duty of the second functional interface is equal to the decrease amount of the traffic distribution duty of the first functional interface.
On the basis of the foregoing embodiment, optionally, the second adjusting unit includes:
the second adjusting subunit is used for responding to the fact that the score ratio is smaller than a second preset threshold value, reducing the traffic distribution ratio of the second functional interface and increasing the traffic distribution ratio of the first functional interface; in the embodiment of the present disclosure, the first preset threshold is greater than the second preset threshold;
in the embodiment of the present disclosure, a decrease amount of the traffic distribution duty of the second functional interface is equal to an increase amount of the traffic distribution duty of the first functional interface.
On the basis of the above embodiment, optionally, the method further includes:
and the execution module is used for responding to the fact that the score is smaller than a first preset threshold and larger than or equal to a second preset threshold after the score is calculated according to the evaluation total score, and executing the step of acquiring first operation state data of the first functional interface and second operation state data of the second functional interface after preset time.
On the basis of the above embodiment, optionally, the method further includes:
the determining module is used for determining the time for carrying out flow distribution for the first time;
the statistical module is used for counting the total time of flow distribution according to the time of flow distribution for the first time;
and the control module is used for controlling the adjusting frequency of the flow distribution proportion according to the total flow distribution time length and the preset minimum flow distribution time length.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
According to the flow distribution control device disclosed by the embodiment of the disclosure, the operation state of the second functional interface is evaluated by acquiring the first operation state data of the first functional interface and the second operation state data of the second functional interface, and the flow distribution of the first functional interface and the second functional interface is adjusted according to the evaluation result, so that the operation state of the second functional interface is monitored, and the cost of manual monitoring is reduced; in addition, according to the evaluation result, the flow distribution of the first functional interface and the second functional interface is adjusted, so that when the second functional interface has a problem in operation, the flow distribution proportion can be adjusted in time according to the operation state of the second functional interface, and risks such as downtime and avalanche caused by untimely manual adjustment of the flow distribution proportion are avoided.
FIG. 8 illustrates a block diagram of a computer device, according to an example embodiment. As shown in fig. 8, the computer device 800 may include:
a memory 810 and a processor 820, a bus 830 connecting the different components (including the memory 810 and the processor 820), the memory 810 storing instructions executable by the processor 820; in the embodiment of the present disclosure, the processor 820 is configured to execute instructions to implement the traffic distribution control method according to the embodiment of the present disclosure.
Bus 830 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 800 typically includes a variety of electronic device readable media. Such media may be any available media that is accessible by computer device 800 and includes both volatile and nonvolatile media, removable and non-removable media. Memory 810 may also include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)840 and/or cache memory 850. The computer device 800 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 860 may be used to read from and write to non-removable, nonvolatile magnetic media (shown in FIG. 8 and commonly referred to as a "hard drive"). Although not shown in FIG. 8, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 830 by one or more data media interfaces. Memory 810 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the disclosure.
Program/utility 8100 having a set (at least one) of program modules 870, which may include, but is not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples possibly including an implementation of a network environment, may be stored in, for example, memory 810. Program modules 870 generally perform the functions and/or methodologies of embodiments described in this disclosure.
The computer device 800 may also communicate with one or more external devices 890 (e.g., keyboard, pointing device, display 891, etc.), with one or more devices that enable a user to interact with the computer device 800, and/or with any devices (e.g., network card, modem, etc.) that enable the computer device 800 to communicate with one or more other computing devices. Such communication may occur through input/output (I/O) interface 892. Also, computer device 800 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) through network adapter 893. As shown, network adapter 893 communicates with the other modules of computer device 800 via bus 830. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the computer device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 820 executes various functional applications and data processing by executing programs stored in the memory 810.
It should be noted that, for the implementation process and the technical principle of the computer of this embodiment, reference is made to the foregoing explanation of the flow distribution control method according to the embodiment of the present disclosure, and details are not described here again.
In order to implement the above embodiments, the present disclosure also provides a storage medium.
Wherein, in the embodiment of the present disclosure, the instructions in the storage medium, when executed by the processor of the server, enable the server to execute the traffic distribution control method as described above.
To implement the above embodiments, the present disclosure also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor of a server, implements the traffic distribution control method as described above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A traffic distribution control method, characterized by comprising:
carrying out flow distribution on the first functional interface and the second functional interface based on a preset flow distribution proportion;
acquiring first operation state data of the first functional interface and second operation state data of the second functional interface;
evaluating the operating state of the second functional interface according to the first operating state data and the second operating state data to obtain an evaluation result;
and adjusting the flow distribution of the first functional interface and the second functional interface according to the evaluation result.
2. The method of claim 1, wherein adjusting traffic distribution of the first and second functional interfaces according to the evaluation comprises:
adjusting the flow distribution proportion according to the evaluation result;
based on the adjusted flow distribution proportion, performing flow distribution on the first functional interface and the second functional interface again, and executing the step of acquiring first operation state data of the first functional interface and second operation state data of the second functional interface;
determining a traffic distribution proportion of the second functional interface;
and ending the flow distribution in response to the flow distribution ratio of the second functional interface meeting a preset condition.
3. The method of claim 2, wherein said adjusting the traffic distribution ratio according to the evaluation result comprises:
responding to the evaluation result to meet the preset requirement, increasing the second flow distribution ratio of the second functional interface, reducing the first flow distribution ratio of the first functional interface, and obtaining the adjusted flow distribution ratio according to the increased second flow distribution ratio and the reduced first flow distribution ratio; or,
and in response to the evaluation result not meeting the preset requirement, reducing the second traffic distribution ratio of the second functional interface, increasing the first traffic distribution ratio of the first functional interface, and obtaining the adjusted traffic distribution ratio according to the reduced second traffic distribution ratio and the increased first traffic distribution ratio.
4. The method according to claim 3, wherein the evaluating the operation status of the second functional interface according to the first operation status data and the second operation status data to obtain an evaluation result comprises:
acquiring a plurality of preset evaluation indexes;
obtaining a preset score of each evaluation index and a score standard of the evaluation index;
calculating an evaluation index value of each evaluation index according to the first operation state data and the second operation state data;
determining at least one target evaluation index of which the evaluation index value meets the corresponding score standard from the plurality of evaluation indexes, and adding the scores of each target evaluation index to obtain an evaluation total score;
the fraction is calculated from the estimated total fraction.
5. The method according to claim 4, wherein the increasing the second traffic distribution duty of the second functional interface and decreasing the first traffic distribution duty of the first functional interface in response to the evaluation result satisfying a preset requirement comprises:
in response to the score ratio being greater than or equal to a first preset threshold, increasing the traffic distribution ratio of the second functional interface and decreasing the traffic distribution ratio of the first functional interface;
wherein an increase of the traffic distribution duty of the second functional interface is equal to a decrease of the traffic distribution duty of the first functional interface.
6. The method of claim 5, wherein in response to the evaluation result not satisfying a preset requirement, decreasing the second traffic distribution duty of the second functional interface and increasing the first traffic distribution duty of the first functional interface comprises:
in response to the score ratio being smaller than a second preset threshold, reducing the traffic distribution ratio of the second functional interface and increasing the traffic distribution ratio of the first functional interface; wherein the first preset threshold is greater than the second preset threshold;
wherein a decrease in traffic distribution duty of the second functional interface is equal to an increase in traffic distribution duty of the first functional interface.
7. The method of claim 6, wherein after said calculating a fraction from an estimated total fraction value, the method further comprises:
and in response to the score ratio being smaller than the first preset threshold and larger than or equal to a second preset threshold, executing the step of acquiring first operation state data of the first functional interface and second operation state data of the second functional interface after preset time.
8. A flow distribution control apparatus, comprising:
the distribution module is used for carrying out flow distribution on the first functional interface and the second functional interface based on a preset flow distribution proportion;
the acquisition module is used for acquiring first operation state data of the first functional interface and second operation state data of the second functional interface;
the evaluation module is used for evaluating the operating state of the second functional interface according to the first operating state data and the second operating state data to obtain an evaluation result;
and the adjusting module is used for adjusting the flow distribution of the first functional interface and the second functional interface according to the evaluation result.
9. A storage medium in which instructions, when executed by a processor of a computer device, enable the computer device to perform the traffic distribution control method according to any one of claims 1 to 7.
10. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the traffic distribution control method according to any one of claims 1 to 7 when executing the computer program.
CN202111233564.6A 2021-10-22 2021-10-22 Flow distribution control method and device, storage medium and computer equipment Active CN114124819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111233564.6A CN114124819B (en) 2021-10-22 2021-10-22 Flow distribution control method and device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111233564.6A CN114124819B (en) 2021-10-22 2021-10-22 Flow distribution control method and device, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN114124819A true CN114124819A (en) 2022-03-01
CN114124819B CN114124819B (en) 2024-02-09

Family

ID=80376743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111233564.6A Active CN114124819B (en) 2021-10-22 2021-10-22 Flow distribution control method and device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN114124819B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866790A (en) * 2022-03-25 2022-08-05 上海哔哩哔哩科技有限公司 Live streaming scheduling method and device
CN115174495A (en) * 2022-06-20 2022-10-11 平安银行股份有限公司 Resource allocation method based on parallel routing and related equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100205296A1 (en) * 2007-09-05 2010-08-12 Huawei Technologies Co., Ltd. Flow control apparatus and flow control method
WO2016145737A1 (en) * 2015-03-19 2016-09-22 中兴通讯股份有限公司 Load sharing method and device
CN108696457A (en) * 2018-04-11 2018-10-23 北京三快在线科技有限公司 Service traffics distribution method based on time window and device, electronic equipment
CN109639786A (en) * 2018-12-04 2019-04-16 北京达佳互联信息技术有限公司 Distribution method, device, server and the storage medium of multimedia resource
CN110290024A (en) * 2019-06-26 2019-09-27 北京百度网讯科技有限公司 The online preceding test method of strategy, device and equipment
CN110750278A (en) * 2019-09-24 2020-02-04 苏宁云计算有限公司 Gray scale distribution method and device, routing equipment and storage medium
CN111585824A (en) * 2020-05-21 2020-08-25 北京奇艺世纪科技有限公司 Resource distribution method, device and system and electronic equipment
CN112269591A (en) * 2020-11-11 2021-01-26 北京凌云雀科技有限公司 Version release method, device, equipment and storage medium
CN113242283A (en) * 2021-04-29 2021-08-10 西安点告网络科技有限公司 Server dynamic load balancing method, system, equipment and storage medium
CN113392018A (en) * 2021-06-28 2021-09-14 北京字节跳动网络技术有限公司 Traffic distribution method, traffic distribution device, storage medium, and electronic device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100205296A1 (en) * 2007-09-05 2010-08-12 Huawei Technologies Co., Ltd. Flow control apparatus and flow control method
WO2016145737A1 (en) * 2015-03-19 2016-09-22 中兴通讯股份有限公司 Load sharing method and device
CN108696457A (en) * 2018-04-11 2018-10-23 北京三快在线科技有限公司 Service traffics distribution method based on time window and device, electronic equipment
CN109639786A (en) * 2018-12-04 2019-04-16 北京达佳互联信息技术有限公司 Distribution method, device, server and the storage medium of multimedia resource
CN110290024A (en) * 2019-06-26 2019-09-27 北京百度网讯科技有限公司 The online preceding test method of strategy, device and equipment
CN110750278A (en) * 2019-09-24 2020-02-04 苏宁云计算有限公司 Gray scale distribution method and device, routing equipment and storage medium
CN111585824A (en) * 2020-05-21 2020-08-25 北京奇艺世纪科技有限公司 Resource distribution method, device and system and electronic equipment
CN112269591A (en) * 2020-11-11 2021-01-26 北京凌云雀科技有限公司 Version release method, device, equipment and storage medium
CN113242283A (en) * 2021-04-29 2021-08-10 西安点告网络科技有限公司 Server dynamic load balancing method, system, equipment and storage medium
CN113392018A (en) * 2021-06-28 2021-09-14 北京字节跳动网络技术有限公司 Traffic distribution method, traffic distribution device, storage medium, and electronic device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866790A (en) * 2022-03-25 2022-08-05 上海哔哩哔哩科技有限公司 Live streaming scheduling method and device
CN114866790B (en) * 2022-03-25 2024-02-27 上海哔哩哔哩科技有限公司 Live stream scheduling method and device
CN115174495A (en) * 2022-06-20 2022-10-11 平安银行股份有限公司 Resource allocation method based on parallel routing and related equipment

Also Published As

Publication number Publication date
CN114124819B (en) 2024-02-09

Similar Documents

Publication Publication Date Title
US11693723B2 (en) Query watchdog
CN114124819A (en) Flow distribution control method and device, storage medium and computer equipment
US8112366B2 (en) Expert system and visualization for multi-server capacity management
CN110471821B (en) Abnormality change detection method, server, and computer-readable storage medium
CN106959894B (en) Resource allocation method and device
US20100076925A1 (en) System for managing data collection processes
CN111143143B (en) Performance test method and device
CN110930291B (en) GPU video memory management control method and related device
US9588813B1 (en) Determining cost of service call
EP3446220A1 (en) Determining the health of a storage drive
CN109544014B (en) Anti-fraud method and device based on historical data playback
WO2020247286A1 (en) System and method for improving performance in an enterprise computing environment
CN108415765B (en) Task scheduling method and device and intelligent terminal
CN114518945A (en) Resource scheduling method, device, equipment and storage medium
CN111157245A (en) Supervision method and system for rail transit running gear bearing
EP3611620A1 (en) Cost optimization in dynamic workload capping
US9501321B1 (en) Weighted service requests throttling
US20050080892A1 (en) Method for predicting a development over time of a system quantity
JP2015079445A (en) Project management device, project management method, and project management program
US10067778B2 (en) Management system, recording medium and method for managing virtual machines
CN115422010A (en) Node management method and device in data cluster and storage medium
CN116150067A (en) Bandwidth adjustment method, device, electronic equipment and storage medium
CN110633946A (en) Task allocation system
CN111915336B (en) Method, apparatus, device and storage medium for determining authenticity of complaint message
CN114356571A (en) Processing method and device

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