CN114124819B - 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
CN114124819B
CN114124819B CN202111233564.6A CN202111233564A CN114124819B CN 114124819 B CN114124819 B CN 114124819B CN 202111233564 A CN202111233564 A CN 202111233564A CN 114124819 B CN114124819 B CN 114124819B
Authority
CN
China
Prior art keywords
functional interface
flow distribution
operation state
state data
ratio
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111233564.6A
Other languages
Chinese (zh)
Other versions
CN114124819A (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

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

Abstract

The present disclosure relates to a flow distribution control method, apparatus, storage medium, and computer device. Wherein the method comprises the following steps: performing flow distribution on the first functional interface and the second functional interface based on a preset flow distribution proportion; acquiring first running state data of the first functional interface and second running state data of the second functional interface; 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 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 problem that burst problems cannot be found in time and the problem that flow distribution is adjusted in time in the flow distribution process.

Description

Flow distribution control method and device, storage medium and computer equipment
Technical Field
The disclosure relates to the field of computer technology, and in particular, to a flow distribution control method, a device, a storage medium and computer equipment.
Background
When the software iterates in daily version, the upgrade and transformation of the old function interface are inevitably involved, and in order to avoid the compatible problem possibly occurring in the new version, the smooth transition of the new version and the old version is required to be achieved through the distribution of the access flow of the user, so that the online risk is reduced. Therefore, how to reasonably control the flow distribution, discover the burst problem in the flow distribution process in time and adjust the flow distribution in time becomes a problem to be solved urgently.
Disclosure of Invention
The disclosure provides a flow distribution control method, a device, a storage medium and computer equipment, which at least solve the problem that burst problems cannot be found in time and flow distribution can be adjusted in time in the related art in the flow distribution process. The technical scheme of the present disclosure is as follows:
according to a first aspect of an embodiment of the present disclosure, there is provided a flow distribution control method, including:
performing flow distribution on the first functional interface and the second functional interface based on a preset flow distribution proportion;
acquiring first running state data of a first functional interface and second running state data of a second functional interface;
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 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 a first functional interface and a second functional interface according to an evaluation result includes:
according to the evaluation result, adjusting the flow distribution proportion;
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 the first running state data of the first functional interface and the second running state data of the second functional interface;
Determining a traffic distribution duty cycle of the second functional interface;
and ending the flow distribution in response to the flow distribution duty ratio of the second functional interface meeting the preset condition.
According to one embodiment of the present disclosure, adjusting the flow distribution ratio according to the evaluation result includes:
responding to the evaluation result to meet the preset requirement, increasing the second flow distribution duty ratio of the second functional interface, reducing the first flow distribution duty ratio of the first functional interface, and obtaining an adjusted flow distribution proportion according to the increased second flow distribution duty ratio and the reduced first flow distribution duty ratio; or,
and in response to the evaluation result not meeting the preset requirement, reducing the second flow distribution duty ratio of the second functional interface, increasing the first flow distribution duty ratio of the first functional interface, and obtaining the adjusted flow distribution proportion according to the reduced second flow distribution duty ratio and the increased first flow distribution duty ratio.
According to one 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 score value preset for 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 a plurality of evaluation indexes, and adding the scores of the target evaluation indexes to obtain an evaluation total score;
the score rate is calculated from the estimated total score.
According to one embodiment of the present disclosure, in response to the evaluation result satisfying a preset requirement, increasing the second traffic distribution duty cycle of the second functional interface and decreasing the first traffic distribution duty cycle of the first functional interface includes:
in response to the score rate being greater than or equal to a first preset threshold, increasing the flow distribution duty cycle of the second functional interface, and decreasing the flow distribution duty cycle of the first functional interface;
wherein the flow distribution ratio of the second functional interface is increased by an amount equal to the decrease in the flow distribution ratio of the first functional interface.
According to one embodiment of the present disclosure, in response to the evaluation result not meeting the preset requirement, reducing the second traffic distribution duty cycle of the second functional interface and increasing the first traffic distribution duty cycle of the first functional interface, includes:
in response to the score rate being less than a second preset threshold, reducing the flow distribution duty cycle of the second functional interface and increasing the flow distribution duty cycle of the first functional interface; wherein the first preset threshold is greater than the second preset threshold;
Wherein the decrease in the flow distribution ratio of the second functional interface is equal to the increase in the flow distribution ratio of the first functional interface.
According to one embodiment of the present disclosure, after calculating the score rate from the estimated total score, the method further comprises:
and in response to the score rate being less than the first preset threshold and greater than or equal to the second preset threshold, performing the step of acquiring the first operational state data of the first functional interface and the second operational state data of the second functional interface after a preset time.
According to one embodiment of the present disclosure, the method further comprises:
determining the time for first traffic distribution;
counting total flow distribution duration according to the time of first flow distribution;
and controlling the adjustment frequency of the flow distribution proportion according to the total flow distribution duration and the preset minimum flow distribution duration.
According to a second aspect of the embodiments of the present disclosure, there is provided a flow distribution control apparatus including:
the distribution module is used for distributing the flow to 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 present disclosure, the adjustment module includes:
the proportion adjustment sub-module is used for adjusting the flow distribution proportion according to the evaluation result;
the flow distribution sub-module 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 the first running state data of the first functional interface and the second running state data of the second functional interface;
the duty ratio determining submodule is used for determining the flow distribution duty ratio of the second functional interface;
and the ending submodule is used for responding to the condition that the flow distribution duty ratio of the second functional interface meets the preset condition and ending the flow distribution.
According to one embodiment of the present disclosure, the scaling submodule includes:
the first adjusting unit is used for responding to the evaluation result to meet the preset requirement, increasing the second flow distribution duty ratio of the second functional interface, reducing the first flow distribution duty ratio of the first functional interface, and obtaining an adjusted flow distribution proportion according to the increased second flow distribution duty ratio and the reduced first flow distribution duty ratio; or,
And the second adjusting unit is used for reducing the second flow distribution duty ratio of the second functional interface and increasing the first flow distribution duty ratio of the first functional interface in response to the evaluation result not meeting the preset requirement, and obtaining the adjusted flow distribution proportion according to the reduced second flow distribution duty ratio and the increased first flow distribution duty ratio.
According to one embodiment of the present disclosure, an evaluation module includes:
the first acquisition submodule is used for acquiring a plurality of preset evaluation indexes;
the second acquisition submodule is used for acquiring the score preset for each evaluation index and the score standard of the evaluation index;
the first computing sub-module is used for computing 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 a plurality of evaluation indexes, and adding the scores of the target evaluation indexes to obtain an evaluation total score;
and the second calculation sub-module is used for calculating the score rate according to the total evaluation score.
According to one embodiment of the present disclosure, the first adjusting unit includes:
The first adjusting subunit is used for increasing the flow distribution duty ratio of the second functional interface and reducing the flow distribution duty ratio of the first functional interface in response to the score rate being greater than or equal to a first preset threshold;
wherein the flow distribution ratio of the second functional interface is increased by an amount equal to the decrease in the flow distribution ratio of the first functional interface.
According to one embodiment of the present disclosure, the second adjusting unit includes:
the second adjusting subunit is used for reducing the flow distribution duty ratio of the second functional interface and increasing the flow distribution duty ratio of the first functional interface in response to the score rate being smaller than a second preset threshold; wherein the first preset threshold is greater than the second preset threshold;
wherein the decrease in the flow distribution ratio of the second functional interface is equal to the increase in the flow distribution ratio of the first functional interface.
According to one embodiment of the present disclosure, further comprising:
and the execution module is used for responding to the fact that the score rate is smaller than a first preset threshold value and larger than or equal to a second preset threshold value after calculating the score rate according to the evaluation total score value, and executing the step of acquiring the first running state data of the first functional interface and the second running state data of the second functional interface after preset time.
According to one 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 statistics module is used for counting the total duration of flow distribution according to the time of first flow distribution;
the control module is used for controlling the adjustment frequency of the flow distribution proportion according to the total flow distribution duration and the preset minimum flow distribution duration.
According to a third aspect of embodiments of the present disclosure, there is provided a storage medium, which when executed by a processor of a computer device, enables the computer device to perform the flow 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, characterized in that the processor implements the flow 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 operation state of the second function interface is evaluated by acquiring the first operation state data of the first function interface and the second operation state data of the second function interface, and the flow distribution of the first function interface and the second function interface is adjusted according to the evaluation result, so that the operation state of the second function 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 operates in a problem, the flow distribution proportion can be timely adjusted 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 disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
FIG. 1 is a flow chart illustrating a method of flow distribution control according to an exemplary embodiment;
FIG. 2 is a flow chart illustrating another flow distribution control method according to an example embodiment;
FIG. 3 is a flow chart illustrating yet another flow distribution control method according to an exemplary embodiment;
FIG. 4 is a flow chart illustrating yet another method of flow distribution control according to an exemplary embodiment;
fig. 5 is a flow chart illustrating a flow distribution control method according to another exemplary embodiment;
FIG. 6 is a flow chart illustrating a method of flow distribution control according to an example embodiment;
fig. 7 is a block diagram illustrating a flow distribution control device according to an exemplary embodiment;
FIG. 8 is a block diagram of a computer device, according to an example embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of 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 foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the disclosure as detailed in the appended claims.
It should be noted that, when the software iterates in daily version, upgrade and transformation of the old function interface are inevitably involved, in order to avoid compatibility problems possibly occurring in the new version, smooth transition of the new version and the old version needs to be achieved through distribution of user access traffic, and online risk is reduced. Therefore, how to reasonably control the flow distribution, discover the sudden problem in the flow distribution process in time, and adjust the flow distribution in time becomes a problem to be solved urgently.
Based on the above problems, the disclosure provides a flow distribution control method, a device, a storage medium and a computer device, which can realize continuous monitoring of an operation state of a new function interface according to acquired operation state data, and timely adjust a user access flow of the new function interface according to the operation state, so that flow distribution can be timely ended when a sudden problem occurs in a flow distribution process, and risks of downtime and avalanche are reduced.
The following first describes related technical terms related to the present disclosure:
the term "avalanche" refers to a phenomenon in which service callers are not available due to service provider unavailability, and such unavailability gradually expands during production.
The term 'monitoring system' is software for monitoring the running state (such as cpu, memory, disk IO, request quantity and the like) of a product in real time, and mainly has the function of early warning and finding faults in advance and providing detailed data for tracking and positioning problems. Common monitoring systems include Nagios (a free network monitoring tool that is open-source), zabbix (an enterprise-level open-source solution that provides distributed system monitoring and network monitoring functions based on WEB interfaces), and the like.
Fig. 1 is a flow chart illustrating a flow distribution control method according to an exemplary embodiment.
It should be noted that the flow distribution control method in the embodiments of the present disclosure may be used in the flow distribution control apparatus in the embodiments of the present disclosure, where the apparatus may be configured in an electronic device. As shown in fig. 1, the flow distribution control method includes the steps of:
and step 101, carrying out flow distribution on the first functional interface and the second functional interface based on a preset flow distribution proportion.
It should be noted that, the above flow may refer to a user access flow, the first functional interface may be an old functional interface of the software when the version iterates, and the second functional interface may be a new functional interface of the software when the version iterates.
In the embodiment of the present disclosure, the flow distribution ratio may refer to a ratio of a flow rate of the second functional interface to a flow rate of the first functional interface. As an example, the preset flow distribution ratio may be understood as an initial value at the time of flow distribution control of the second functional interface and the first functional interface. For example, the initial value may be 0:100, i.e. all traffic is distributed to the first functional interface, at which point the traffic of the second functional interface is 0. As another example, the initial value may be set randomly according to practical situations, for example, 20:80. alternatively, the duty ratio of the flow rate of the second functional interface may be set to a smaller value, and the flow rate of the first functional interface may be set to a larger value, so that the flow rate of the second functional interface is gradually increased according to the operation 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 one possible example, the monitoring system may be used to monitor the operational status of the first functional interface and the second functional interface, thereby obtaining first operational status data and second operational 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) -2): 1) Error rate; 2) Response time.
It should be noted that the content included in the verification report may be determined according to the actual situation. Several examples will be given below to introduce the contents contained in the collation report, respectively.
As an example of one possible implementation, the first and second operating state data may include an error rate.
As an example of one possible implementation, the first and second operating state data may include response times.
As an example of one possible implementation, the first and second operating state data may include an error rate and a response time.
It should be noted that, the error rate=the number of errors of the request interface/the total number of errors of the request interface is 100%, where the error of the request interface 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 by using the current hardware and software resources.
And step 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 operation state data and the second operation state data are respectively subjected to data analysis, thereby obtaining the operation states of the first function interface and the second function interface. And according to a preset evaluation rule, the operation state of the second functional interface is combined and compared with the operation state of the first functional interface, so that the operation 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 operation state of the second functional interface with the operation state of the first functional interface based on the operation state data such as the error rate and the response time of the second functional interface and the operation state data such as the error rate and the response time of the first functional interface, for example, the cumulative average error rate ratio of the second functional interface to the first functional interface is less than a preset value 1.15, that is, the average error rate ratio of the second functional interface to the average error rate of the first functional interface is less than 20:23, and then the operation state of the second functional interface is proved to be better than the first functional interface in terms of the error rate.
And step 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 rate of the first functional interface and the flow rate of the second functional interface are adjusted according to the evaluation result of the operation 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, 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 is in operation, the flow distribution proportion can be adjusted timely 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.
In order to ensure that the flow distribution to the first functional interface and the second functional interface is continuously adjusted until a preset condition is met, ending the flow distribution, optionally determining the flow distribution duty ratio of the second functional interface, and judging whether 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 needs to be repeatedly executed based on the preset condition. Fig. 2 is a flow chart illustrating another flow distribution control method according to an example embodiment. In some embodiments of the present disclosure, as shown in fig. 2, the flow distribution control method includes:
and step 201, performing flow distribution on the first functional interface and the second functional interface based on a preset flow distribution proportion.
In the embodiments of the present disclosure, step 201 may be implemented in any manner in each embodiment of the present disclosure, which is not limited to this embodiment, and is not described in detail.
Step 202, acquiring first operation state data of a first functional interface and second operation state data of a second functional interface.
In the embodiments of the present disclosure, step 202 may be implemented in any manner in each embodiment of the present disclosure, which is not limited to this embodiment, and is not described in detail.
And step 203, the operation state of the second functional interface is evaluated according to the first operation state data and the second operation state data, and an evaluation result is obtained.
In the embodiment of the present disclosure, step 203 may be implemented in any manner in each embodiment of the present disclosure, which is not limited to this embodiment, and is not described in detail.
And step 204, adjusting the flow distribution proportion according to the evaluation result.
It can be understood that the flow distribution ratio of the first functional interface to the second functional interface is adjusted according to the evaluation result of the operation state of the second functional interface.
Step 205, based on the adjusted flow distribution ratio, re-distributing the flow to 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 will be appreciated that after the traffic distribution is performed again on the first functional interface and the second functional interface, as the traffic of the first functional interface and the second functional interface changes, the operation states of the first functional interface and the second functional interface change, and the first operation state data of the first functional interface and the second operation 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 acquired 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, so that an evaluation result is obtained.
Step 206, determining the traffic distribution duty cycle of the second functional interface.
In the disclosed embodiments, a current traffic distribution duty cycle of the second functional interface may be determined. For example, the current flow distribution ratio of the second functional interface is determined according to the adjusted flow distribution ratio, for example, the adjusted flow distribution ratio of the second functional interface to the first functional interface is 8:2, and then the current flow distribution ratio of the second functional interface=8/(8+2) ×100% =80%.
And step 207, responding to the flow distribution duty ratio of the second functional interface to meet the preset condition, and ending the flow distribution.
It will be appreciated that the flow distribution control method of the embodiments of the present disclosure has the ultimate goal of gradually distributing the entire flow to the second functional interface.
It should be noted that, as a possible example, the above-mentioned preset condition may be understood as a condition for controlling the end of the flow distribution, and the duty ratio may be preset according to the actual situation. For example, a first preset duty ratio as a determination condition for failure in traffic distribution and a second preset duty ratio as a determination condition for success in traffic distribution may be set. In this way, the traffic distribution duty cycle of the second functional interface may be compared with the first preset duty cycle and the second preset duty cycle, and the traffic distribution may be ended in response to the current traffic distribution duty cycle of the second functional interface being equal to the first preset duty cycle or the second preset duty cycle.
As a possible example, taking the first preset duty ratio as 0%, the traffic distribution is terminated in response to the traffic distribution duty ratio of the second functional interface being 0%, the traffic distribution fails.
As another possible example, taking the second preset duty ratio as 100%, the traffic distribution is successful in response to the traffic distribution duty ratio of the second functional interface being 100%, and the traffic distribution is ended.
As yet another possible example, taking the first preset duty cycle as 0% and the second preset duty cycle as 100%, in response to the traffic distribution duty cycle of the second functional interface being greater than 0% and less than 100%, the 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 performed, that is, the step 202 is performed in return.
According to the flow distribution control method of the embodiment of the disclosure, whether 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 required to be repeatedly executed is judged based on a preset condition by the flow distribution duty ratio according to the second functional interface. The flow distribution proportion is continuously adjusted, the flow distribution is carried out on the first functional interface and the second functional interface again based on the adjusted flow distribution proportion, and the flow distribution is ended until the preset condition is met, so that the flow distribution of the second functional interface is continuously realized.
In order to enable adjustment of the flow distribution ratio, optionally, the second flow distribution ratio of the second functional interface is increased and the first flow distribution ratio of the first functional interface is decreased in response to the evaluation result meeting a preset requirement, and the second flow distribution ratio of the second functional interface is decreased and the first flow distribution ratio of the first functional interface is increased in response to the evaluation result not meeting the preset requirement. Fig. 3 is a flow chart illustrating yet another flow distribution control method according to an exemplary embodiment. In some embodiments of the present disclosure, as shown in fig. 3, the flow distribution control method includes:
and step 301, performing flow distribution on the first functional interface and the second functional interface based on a preset flow distribution proportion.
In the embodiment of the present disclosure, step 301 may be implemented in any manner in each embodiment of the present disclosure, which is not limited to this embodiment, and is not described in detail.
Step 302, acquiring first operation state data of a first functional interface and second operation state data of a second functional interface.
In an embodiment of the present disclosure, step 302 may be implemented in any manner in each embodiment of the present disclosure, which is not limited to this embodiment, and is not described herein.
Step 303, 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.
In an embodiment of the present disclosure, step 303 may be implemented in any one of various embodiments of the present disclosure, which is not limited to this embodiment, and is not described herein.
Step 304, in response to the evaluation result meeting the preset requirement, increasing the second flow distribution duty ratio of the second functional interface, and reducing the first flow distribution duty ratio of the first functional interface, and obtaining the adjusted flow distribution ratio according to the increased second flow distribution duty ratio and the reduced first flow distribution duty 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 the 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 flow distribution duty ratio of the second functional interface is increased, and the amount of increase in the second flow distribution duty ratio may be a preset amount of increase, each time the same second flow distribution duty ratio is increased. And in response to the evaluation result meeting the preset requirement, reducing the first flow distribution duty ratio of the first functional interface, wherein the reduction amount of the first flow distribution duty ratio can be a preset reduction amount, and the same first flow distribution duty ratio is reduced each time.
As yet another example, in response to the evaluation result satisfying the preset requirement, the second traffic distribution duty cycle of the second functional interface is increased, and the increase amount of the second traffic distribution duty cycle may be a randomly allocated increase amount. And in response to the evaluation result meeting the preset requirement, reducing the first traffic distribution duty ratio of the first functional interface, wherein the reduction of the first traffic distribution duty ratio can be a reduction of random distribution.
The adjusted flow distribution ratio is a ratio of the increased second flow distribution ratio to the decreased first flow distribution ratio. For example, the second flow distribution ratio is 10%, the first flow distribution ratio is 90%, the flow distribution ratio at this time is 1:9, the second flow distribution ratio is increased by 20% and the first flow distribution ratio is reduced by 80% in response to the evaluation result satisfying the preset requirement, and the flow distribution ratio at this time is 2:8.
In step 305, in response to the evaluation result not meeting the preset requirement, the second flow distribution ratio of the second functional interface is reduced, the first flow distribution ratio of the first functional interface is increased, and the adjusted flow distribution ratio is obtained according to the reduced second flow distribution ratio and the increased first flow distribution ratio.
As an example, in response to the evaluation result not meeting the preset requirement, the second traffic distribution duty cycle of the second functional interface is reduced, and the reduction amount of the second traffic distribution duty cycle may be a preset reduction amount, each time reduced by the same second traffic distribution duty cycle. In response to the evaluation result not meeting the preset requirement, increasing the first flow distribution duty cycle of the first functional interface, the increase in the first flow distribution duty cycle may be a preset increase, each time increasing the same first flow distribution duty cycle.
As yet another example, in response to the evaluation result not meeting the preset requirement, the second traffic distribution duty cycle of the second functional interface is increased, and the decrease in the second traffic distribution duty cycle may be a decrease in random distribution. In response to the evaluation result not meeting the preset requirement, increasing the first flow distribution duty cycle of the first functional interface, the increase in the first flow distribution duty cycle may be a random allocated increase.
The adjusted flow distribution ratio is a ratio of the decreased second flow distribution ratio to the increased first flow distribution ratio. For example, the second flow distribution ratio is 20%, the first flow distribution ratio is 80%, the flow distribution ratio at this time is 2:8, the second flow distribution ratio is reduced to 10% in response to the evaluation result not meeting the preset requirement, the first flow distribution ratio is increased to 90%, and the flow distribution ratio at this time is 1:9.
And 306, based on the adjusted flow distribution proportion, re-distributing the flow to the first functional interface and the second functional interface, and executing 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, namely returning to the executing step 302.
In an embodiment of the present disclosure, step 306 may be implemented in any manner in each embodiment of the present disclosure, which is not limited to this embodiment, and is not described herein.
Step 307, determining the traffic distribution duty cycle of the second functional interface.
In an embodiment of the present disclosure, step 307 may be implemented in any manner in each embodiment of the present disclosure, which is not limited to this embodiment, and is not described herein.
And step 308, responding to the flow distribution duty ratio of the second functional interface to meet the preset condition, and ending the flow distribution.
In an embodiment of the present disclosure, step 308 may be implemented in any manner in each embodiment of the present disclosure, which is not limited to this embodiment, and is not described herein.
According to the flow distribution control method of the embodiment of the disclosure, after an evaluation result is obtained, a second flow distribution duty ratio of a second functional interface is increased and a first flow distribution duty ratio of a first functional interface is reduced in response to the evaluation result meeting a preset requirement; and in response to the evaluation result not meeting the preset requirement, reducing the second flow distribution duty ratio of the second functional interface and increasing the first flow distribution duty ratio of the first functional interface, thereby achieving the purpose of adjusting the flow distribution proportion.
In order to accurately and intuitively embody the evaluation result, optionally, according to the first running state data and the second running state data, calculating an evaluation index value of each evaluation index, determining at least one target evaluation index of which the evaluation index value meets a corresponding score standard from a plurality of evaluation indexes, adding the scores of each target evaluation index to obtain an evaluation total score, and calculating a score rate according to the evaluation total score. Fig. 4 is a flow chart illustrating yet another flow distribution control method according to an exemplary embodiment. In some embodiments of the present disclosure, as shown in fig. 4, the flow distribution control method includes:
and step 401, performing flow distribution on the first functional interface and the second functional interface based on a preset flow distribution proportion.
In an embodiment of the present disclosure, step 401 may be implemented in any manner in each embodiment of the present disclosure, which is not limited to this embodiment, and is not described herein.
Step 402, acquiring first operation state data of a first functional interface and second operation state data of a second functional interface.
In an embodiment of the present disclosure, step 402 may be implemented in any manner in each embodiment of the present disclosure, which is not limited to this embodiment, and is not described herein.
Step 403, obtaining a plurality of preset evaluation indexes.
Optionally, in this embodiment, the evaluation index includes at least one or more of the following 1) -6):
1) Accumulating the average error rate ratio of the first functional interface to 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 to the second functional interface is real-time;
6) The average response time ratio of the first functional interface and the second functional interface is real-time.
The above evaluation indexes 1) to 6) are explained below:
it should be noted that, the ratio of the average error rates of the first functional interface and 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 period, which may be a longer period of time as a possible example, so as to evaluate the error rates of the first functional interface and the second functional interface in the longer period of time;
Accumulating the average response time ratio of the first functional interface to 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, where the current time period may be a longer time period, so as to evaluate the response time of the first functional interface to the response time of the second functional interface in the longer time period;
the average error rate ratio of the second functional interface in the preset time period is accumulated, and the average error rate ratio of the second functional interface in the current time period and the average error rate ratio of the second functional interface in the preset time period corresponding to the current time period can be obtained;
the average response time ratio of the second functional interface in the preset time period is accumulated, and the average response time ratio of the second functional interface in the current time period and the average response time ratio of the second functional interface in the preset time period corresponding to the current time period can be obtained;
the 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 may be, as a possible example, a shorter time period, so as to evaluate the error rate of the first functional interface to the error rate of the second functional interface in a shorter time period.
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 may be, as a possible example, a longer time period, so as to evaluate the response time of the first functional interface to the response time of the second functional interface in the 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, the current time is 12 points 1 minute, and the preset time period is 1 hour, and the current time period is 11 points 1 minute to 12 points 1 minute.
It should be noted that, the monitoring system provided in the embodiment of the present disclosure may monitor the operation states of the first functional interface and the second functional interface according to a preset frequency, the average error rate may be an average value of all error rates obtained in the current time period, and the average response time may be an average value of all response times obtained in the current time period.
It should be noted that the specific content included in the evaluation index may be determined according to the actual situation. For example, any one or more of the above items 1) to 6) may be selected as the evaluation index, or all of the items 1) to 6) may be also selected as the evaluation index.
Step 404, obtaining a score preset for each evaluation index and a score standard of the evaluation index.
It should be noted that, the steps 402, 403 and 404 do not distinguish the execution sequence.
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, and then the current time period is 8:40-9:40. The average error rate of the first functional interface is the average value of all the error rates of the first functional interface obtained 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 the average value of all the error rates of the second functional interface obtained within 1 hour, and the average error rate of the second functional interface is calculated to be 0.01%. Therefore, the 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 the evaluation index values meet the score standard in the plurality of evaluation indexes, the scores of all the evaluation indexes are added to obtain an evaluation total score;
as another example, among the plurality of evaluation indexes, the evaluation index values all do not satisfy the score criterion, and the evaluation total score is 0.
As yet another example, if a part of the evaluation index values satisfies the score criterion among the plurality of evaluation indexes, the score values of the target evaluation index are added to obtain the total evaluation score.
Step 407, calculating the score rate according to the estimated total score.
It should be noted that the evaluation result proposed in some embodiments of the present disclosure may be a score rate.
For example, the score preset for each evaluation index and the score standard of the evaluation index are shown in table 1.
TABLE 1 score of evaluation index and score criterion of evaluation index
The average error rate ratio of the second functional interface to the first functional interface in the current time period is calculated to be 1.1, the average response time ratio of the second functional interface to the first functional interface in the current time period is calculated to be 1.12, the average error rate ratio of the second functional interface in the preset time period is calculated to be 1.1, the average response time ratio of the second functional interface in the preset time period is calculated to be 1.3, the average error rate ratio of the instant second functional interface to the first functional interface is calculated to be 1.5, and the average response time ratio of the instant second functional interface to the first functional interface is calculated to be 1.15.
Except for accumulating the average response time ratio of the second functional interface in the preset time period and the average error rate ratio of the instant second functional interface to the first functional interface, other evaluation index values meet the corresponding score standard, and the scores corresponding to the other evaluation index values are added to obtain an evaluation total score, wherein the evaluation total score=30+20+15+10=75.
Since total score=30+20+15+10+15+10=100, score ratio=75/100×100% =75%.
As an example, the foregoing preset period of time does not start to distribute traffic, and the monitoring system does not monitor the first functional interface and the second functional interface, where the average error rate ratio of the second functional interface in the preset period of time cannot be calculated, and the average response time ratio of the second functional interface in the preset period of time 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 corresponds to 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 calculated as 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 of the previous day, and the current time is the first day of the flow distribution, and the previous day has no relevant data, so that the ratio cannot be calculated, and at this time, the total score=30+20+10=60, the total score=30+20+15+10=75, and the score=60/75×100% =80% are evaluated.
In step 408, in response to the score rate meeting the preset requirement, increasing the second flow distribution ratio of the second functional interface, and decreasing the first flow distribution ratio of the first functional interface, and according to the increased second flow distribution ratio and the decreased first flow distribution ratio, obtaining an adjusted flow distribution ratio.
In an embodiment of the present disclosure, step 408 may be implemented in any manner in each embodiment of the present disclosure, which is not limited to this embodiment, and is not described herein.
And 409, reducing the second flow distribution ratio of the second functional interface and increasing the first flow distribution ratio of the first functional interface in response to the score rate not meeting the preset requirement, and obtaining the adjusted flow distribution ratio according to the reduced second flow distribution ratio and the increased first flow distribution ratio.
In an embodiment of the present disclosure, step 409 may be implemented in any manner in each embodiment of the present disclosure, which is not limited to this embodiment, and is not described in detail.
Step 410, based on the adjusted flow distribution ratio, re-distributing the flow to 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 402.
In an embodiment of the present disclosure, step 410 may be implemented in any one of various embodiments of the present disclosure, which is not limited thereto, and is not described herein.
Step 411, determining a traffic distribution duty cycle of the second functional interface.
In an embodiment of the present disclosure, step 411 may be implemented in any manner in each embodiment of the present disclosure, which is not limited to this embodiment, and is not described herein.
And step 412, ending the flow distribution in response to the flow distribution duty ratio of the second functional interface meeting the preset condition.
In an embodiment of the present disclosure, step 412 may be implemented in any manner of embodiments of the present disclosure, which is not limited thereto, and is not described herein.
According to the flow distribution control method of the embodiment of the disclosure, according to the first running state data and the second running state data, the evaluation index value of each evaluation index is calculated, at least one target evaluation index of which the evaluation index value meets the corresponding score standard is determined from a plurality of evaluation indexes, the score of each target evaluation index is added, so that the total evaluation score is obtained, the score rate is calculated according to the total evaluation score, the evaluation result is quantitatively embodied, and the running state of the second functional interface can be accurately and intuitively known according to the specific score rate.
In order to ensure that the flow distribution ratio of the second functional interface is not adjusted when the operation state of the second functional interface neither satisfies the condition of increasing the flow distribution ratio of the second functional interface nor the condition of decreasing the flow distribution ratio of the second functional interface, optionally, 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 performed after a preset time in response to the score rate being smaller than a first preset threshold and greater than or equal to a second preset threshold. Fig. 5 illustrates a flow chart of a flow distribution control method according to another exemplary embodiment. In some embodiments of the present disclosure, as shown in fig. 5, the flow distribution control method includes:
and step 501, performing flow distribution on the first functional interface and the second functional interface based on a preset flow distribution proportion.
In the embodiment of the present disclosure, step 501 may be implemented in any manner in each embodiment of the present disclosure, which is not limited to this embodiment, and is not described in detail.
Step 502, acquiring first operation state data of a first functional interface and second operation state data of a second functional interface.
In an embodiment of the present disclosure, step 502 may be implemented in any manner in each embodiment of the present disclosure, which is not limited to this embodiment, and is not described in detail.
In step 503, a plurality of preset evaluation indexes are obtained.
In an embodiment of the present disclosure, step 502 may be implemented in any manner in each embodiment of the present disclosure, which is not limited to this embodiment, and is not repeated herein.
Step 504, obtaining a score preset for each evaluation index and a score standard of the evaluation index.
In an embodiment of the present disclosure, step 502 may be implemented in any manner in each embodiment of the present disclosure, which is not limited to this embodiment, and is not described in detail.
Step 505, calculating an evaluation index value of each evaluation index according to the first operation state data and the second operation state data.
In an embodiment of the present disclosure, step 502 may be implemented in any manner in each embodiment of the present disclosure, which is not limited to this embodiment, and is not described in detail.
Step 506, 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.
In an embodiment of the present disclosure, step 502 may be implemented in any manner in each embodiment of the present disclosure, which is not limited to this embodiment, and is not described in detail.
Step 507, calculating the score rate according to the total score.
In an embodiment of the present disclosure, step 502 may be implemented in any manner in each embodiment of the present disclosure, which is not limited to this embodiment, and is not described in detail.
In some embodiments of the present disclosure, as shown in fig. 5, the flow distribution control method may further include step 508. Wherein step 508 comprises the steps of: and in response to the score rate being greater than or equal to a first preset threshold, increasing the flow distribution duty cycle of the second functional interface, reducing the flow distribution duty cycle of the first functional interface, and obtaining an adjusted flow distribution proportion according to the increased second flow distribution duty cycle and the reduced first flow distribution duty cycle.
Wherein, in the embodiment of the present disclosure, the amount of increase in the traffic distribution duty cycle of the second functional interface is equal to the amount of decrease in the traffic distribution duty cycle of the first functional interface.
In the embodiment of the present disclosure, the step 508 obtains the adjusted flow distribution ratio according to the increased second flow distribution ratio and the decreased first flow distribution ratio, so as to implement any manner of each embodiment of the present disclosure, which is not limited and not repeated herein.
Since the sum of the second flow distribution ratio and the first flow distribution ratio should be equal to 100%, the increase in the flow distribution ratio of the second functional interface is equal to the decrease in the flow distribution ratio of the first functional interface.
For example, when the current flow distribution ratio of the second functional interface to the first functional interface is 1:9, the first flow distribution ratio is 90%, and the second flow distribution ratio is 10%. And if the first preset threshold value is determined to be 70%, the score rate is 80%, and if the score rate is greater than the first preset threshold value, the second flow distribution ratio is increased to 20%, and the first flow distribution ratio is reduced to 80%. Since the second flow distribution duty cycle should be equal to 100% in addition to the first flow distribution duty cycle, the first flow distribution duty cycle should be reduced by 10% while the second flow distribution duty cycle is increased by 10%.
In some embodiments of the present disclosure, as shown in fig. 5, the flow distribution control method may further include step 509. Wherein step 509 comprises the steps of: and in response to the score rate being less than a second preset threshold, reducing the flow distribution duty cycle of the second functional interface, increasing the flow distribution duty cycle of the first functional interface, and obtaining an adjusted flow distribution ratio according to the reduced second flow distribution duty cycle and the increased first flow distribution duty cycle.
Wherein, in the embodiment of the disclosure, the first preset threshold is greater than the second preset threshold.
Wherein, in the embodiment of the present disclosure, 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.
In the embodiment of the present disclosure, the adjusted flow distribution ratio is obtained according to the reduced second flow distribution ratio and the increased first flow distribution ratio in step 509, so as to be implemented by adopting any one of the embodiments of the present disclosure, which is not limited and not repeated herein.
It can be understood that the score rate is smaller than the second preset threshold, which indicates that the running state of the second functional interface does not reach the preset standard due to external factors such as a network or internal problems of a program, so that the flow distribution ratio of the second functional interface needs to be reduced, and the flow distribution ratio of the first functional interface is increased, so that the flow distribution is performed on the first functional interface and the second functional interface again based on the adjusted flow distribution ratio.
It should be noted that, as an example of one possible implementation, the first preset threshold may be greater than the second preset threshold. As another example of a possible implementation, the first preset threshold may be equal to the second preset threshold
Since the sum of the second flow distribution ratio and the first flow distribution ratio should be equal to 100%, the decrease in the flow distribution ratio of the second functional interface is equal to the increase in the flow distribution ratio of the first functional interface.
For example, when the current flow distribution ratio of the second functional interface to the first functional interface is 2:8, the first flow distribution ratio is 80% and the second flow distribution ratio is 20%. And determining that the second preset threshold value is 50%, the score rate is 40%, and if the score rate is smaller than the first preset threshold value, reducing the second flow distribution ratio to 10%, and increasing the first flow distribution ratio to 90%. Since the second flow distribution duty cycle should be equal to 100% in addition to the first flow distribution duty cycle, the first flow distribution duty cycle should be increased by 10% while the second flow distribution duty cycle is reduced by 10%.
In some embodiments of the present disclosure, as shown in fig. 5, the flow distribution control method may further include step 510. Wherein step 510 comprises the steps of: and in response to the score rate being less than the first preset threshold and greater than or equal to the second preset threshold, performing the step of acquiring the first operational state data of the first functional interface and the second operational state data of the second functional interface after a 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 performed multiple times according to a preset frequency. And responding to the fact that the score rate is smaller than the first preset threshold value and larger than or equal to the second preset threshold value, the operation state of the second functional interface at the moment is not satisfied with the condition of increasing the flow distribution ratio of the second functional interface, and is not satisfied with the condition of reducing the flow distribution ratio of the second functional interface, namely, the operation state of the second functional interface is not obvious in advantage compared with the operation state of the first functional interface. Therefore, it is necessary to continuously observe the operation state of the second functional interface, 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 performed after a preset time according to a preset frequency.
For example, when the current flow distribution ratio of the second functional interface to the first functional interface is 2:8, the first flow distribution ratio is 80% and the second flow distribution ratio is 20%. And determining that the second preset threshold value is 50%, determining that the first preset threshold value is 70%, determining that the score rate is 60%, and determining that the score rate is smaller than the first preset threshold value and larger than the second preset threshold value, 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, re-distributing the traffic to the first functional interface and the second functional interface based on the adjusted traffic distribution ratio, 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 embodiments of the present disclosure, step 511 is implemented in any manner of each embodiment of the present disclosure, which is not limited thereto, and is not repeated herein.
Step 512 determines a traffic distribution duty cycle for the second functional interface.
In an embodiment of the present disclosure, step 512 is implemented in any manner of employing any one of embodiments of the present disclosure, which is not limited thereto, and is not repeated herein.
And step 513, responding to the flow distribution duty ratio of the second functional interface to meet the preset condition, and ending the flow distribution.
In the embodiment of the present disclosure, step 513 is implemented in any manner of adopting any one of the embodiments of the present disclosure, and the embodiment of the present disclosure is not limited thereto, and is not repeated.
According to the flow distribution control method of the embodiment of the disclosure, after calculating the score rate, in response to the score rate being smaller than the first preset threshold and greater than or equal to the second preset threshold, 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 performed after the preset time, so that continuous observation of the operation state of the second functional interface is realized when the operation state of the second functional interface does not meet the condition of increasing the flow distribution duty ratio of the second functional interface nor the condition of decreasing the flow distribution duty ratio of the second functional interface.
In order to ensure that the total flow distribution time length is longer than the minimum flow distribution time length, optionally, according to the time of first flow distribution, calculating the time difference between the current time and the time of first flow distribution, thereby counting the total flow distribution time length. And controlling the adjustment frequency of the flow distribution proportion according to the total flow distribution duration and the preset minimum flow distribution duration. Fig. 6 is a flow chart illustrating a flow distribution control method according to an exemplary embodiment. In some embodiments of the present disclosure, the flow distribution control method includes:
and 601, performing flow distribution on the first functional interface and the second functional interface based on a preset flow distribution proportion.
In the embodiments of the present disclosure, step 601 is implemented in any manner of each embodiment of the present disclosure, which is not limited thereto, and is not repeated herein.
Step 602, acquiring first operation state data of a first functional interface and second operation state data of a second functional interface.
In the embodiments of the present disclosure, step 601 is implemented in any manner of each embodiment of the present disclosure, which is not limited thereto, and is not repeated herein.
And step 603, 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 embodiments of the present disclosure, step 601 is implemented in any manner of each embodiment of the present disclosure, which is not limited thereto, and is not repeated herein.
And step 604, adjusting the flow distribution of the first functional interface and the second functional interface according to the evaluation result.
In the embodiments of the present disclosure, step 601 is implemented in any manner of each embodiment of the present disclosure, which is not limited thereto, and is not repeated herein.
Step 605, determining a time when the traffic distribution is first performed.
Step 606, counting the total duration of the flow distribution according to the time of the first flow distribution.
It can be understood that the total duration of the flow distribution may be the total duration from the time when the flow distribution is first performed to the current time, so that the time difference between the current time and the time when the flow distribution is first performed is the total duration of the flow distribution.
Step 607, controlling the adjustment frequency of the flow distribution proportion according to the total flow distribution duration and the preset minimum flow distribution duration.
It should be noted that, in order to meet the requirements of different service software on the total duration of the flow distribution, the minimum duration of the flow distribution needs to be set. For example, the service data needs to be generated the next day, the shortest traffic distribution duration needs to be set to 2 days, and the software can be configured to continuously observe for 1 week in the iteration of the new version and the old version to realize smooth transition.
It can be appreciated that, in order to make the flow distribution duration as close as possible to the minimum flow distribution duration, the frequency of acquiring the first operation state data and the second operation state data needs to be set according to the minimum flow distribution duration, and the magnitudes of the flow distribution duty ratio of the first functional interface and the flow distribution duty ratio of the second functional interface need to be adjusted once. 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, the slower the speed of ending the flow distribution. The smaller the flow distribution ratio of the first functional interface and the flow distribution ratio of the second functional interface are adjusted at a time, namely, the smaller the adjustment amount of each time is, the slower the flow distribution ending speed is.
As an example of a possible implementation, to ensure that the second traffic distribution ratio 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 ratio and a maximum traffic distribution ratio are set. As an example, when the minimum flow distribution duration is not reached, in response to the second flow distribution duty ratio being smaller than or equal to the minimum flow distribution duty ratio, or when the second flow distribution duty ratio being greater than or equal to the maximum flow distribution duty ratio, the flow distribution of the first functional interface and the second functional interface is not adjusted any more, only the first operation state data of the first functional interface and the second operation state data of the second functional interface are acquired, 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 duration is reached, responding to the evaluation result to meet the preset requirement, and adjusting the flow of the second functional interface to be the whole flow, namely, the flow distribution ratio of the second functional interface is 100%. Continuously evaluating the running state of the second functional interface, and ending the flow distribution and successfully distributing the flow in response to the evaluation result meeting the preset requirement; and ending the flow distribution and failing the flow distribution in response to the evaluation result not meeting the preset requirement.
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 by calculation, where the preset requirement is preset to 70%, the current score is 80%, and the flow of the two functional interfaces 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 score rate still being greater than 70%, wherein the flow distribution ratio of the second functional interface is 100%, and the flow distribution is successful; and responding to the score rate being less than 70%, continuing to execute the step of acquiring the first operation state data of the first function interface and the second operation state data of the second function 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 by calculation, where the preset requirement is preset to 70%, the current score is 60%, and the current score is less than 70%, which indicates that the current operation state of the second functional interface does not meet the requirement, so that the flow distribution is ended, and the flow distribution fails.
As another possible implementation example, in order to ensure that the second traffic distribution ratio 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 ratio and a maximum traffic distribution ratio are set. As an example, when the minimum flow distribution duration is not reached, 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 adjusted so that the flow distribution duty ratio of the second functional interface does not decrease to 0% or increase to 100% when the total flow distribution duration is less than the minimum flow distribution duration, in response to the second flow distribution duty ratio being less than or equal to the minimum flow distribution duty ratio, or when the second flow distribution duty ratio is greater than or equal to the maximum flow distribution duty ratio.
According to the flow distribution control method, according to the time for first flow distribution, the time difference between the current time and the time for first flow distribution is calculated, so that the total flow distribution duration is counted. According to the total flow distribution time length and the preset minimum flow distribution time length, the adjustment frequency of the flow distribution proportion is controlled, so that the total flow distribution time length is ensured to be longer than the minimum flow distribution time length, and further the requirements of different service software on the total flow distribution time length are met.
In order to implement the above-described embodiments, the present disclosure proposes 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 perform flow distribution on the first functional interface and the second functional interface based on a preset flow distribution proportion;
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;
an evaluation module 703, configured to evaluate 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 704 is configured to adjust the traffic distribution of the first functional interface and the second functional interface according to the evaluation result.
Based on the above embodiment, optionally, the adjusting module 704 includes:
the proportion adjustment sub-module is used for adjusting the flow distribution proportion according to the evaluation result;
the flow distribution sub-module 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 the first running state data of the first functional interface and the second running state data of the second functional interface;
The duty ratio determining submodule is used for determining the flow distribution duty ratio of the second functional interface;
and the ending submodule is used for responding to the condition that the flow distribution duty ratio of the second functional interface meets the preset condition and ending the flow distribution.
On the basis of the above embodiment, optionally, the scaling submodule includes:
the first adjusting unit is used for responding to the evaluation result to meet the preset requirement, increasing the second flow distribution duty ratio of the second functional interface, reducing the first flow distribution duty ratio of the first functional interface, and obtaining an adjusted flow distribution proportion according to the increased second flow distribution duty ratio and the reduced first flow distribution duty ratio; or,
and the second adjusting unit is used for reducing the second flow distribution duty ratio of the second functional interface and increasing the first flow distribution duty ratio of the first functional interface in response to the evaluation result not meeting the preset requirement, and obtaining the adjusted flow distribution proportion according to the reduced second flow distribution duty ratio and the increased first flow distribution duty ratio.
Based on the above embodiment, the evaluation module 703 may optionally include:
the first acquisition submodule is used for acquiring a plurality of preset evaluation indexes;
The second acquisition submodule is used for acquiring the score preset for each evaluation index and the score standard of the evaluation index;
the first computing sub-module is used for computing 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 a plurality of evaluation indexes, and adding the scores of the target evaluation indexes to obtain an evaluation total score;
and the second calculation sub-module is used for calculating the score rate according to the total evaluation score.
On the basis of the above embodiment, optionally, the first adjusting unit includes:
the first adjusting subunit is used for increasing the flow distribution duty ratio of the second functional interface and reducing the flow distribution duty ratio of the first functional interface in response to the score rate being greater than or equal to a first preset threshold;
wherein, in the embodiment of the present disclosure, the amount of increase in the traffic distribution duty cycle of the second functional interface is equal to the amount of decrease in the traffic distribution duty cycle of the first functional interface.
On the basis of the above embodiment, optionally, the second adjusting unit includes:
the second adjusting subunit is used for reducing the flow distribution duty ratio of the second functional interface and increasing the flow distribution duty ratio of the first functional interface in response to the score rate being smaller than a second preset threshold; wherein, in the embodiments of the present disclosure, the first preset threshold is greater than the second preset threshold;
Wherein, in the embodiment of the present disclosure, 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.
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 rate is smaller than a first preset threshold value and larger than or equal to a second preset threshold value after calculating the score rate according to the evaluation total score value, and executing the step of acquiring the first running state data of the first functional interface and the second running 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 statistics module is used for counting the total duration of flow distribution according to the time of first flow distribution;
the control module is used for controlling the adjustment frequency of the flow distribution proportion according to the total flow distribution duration and the preset minimum flow distribution duration.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
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 operates in a problem, the flow distribution proportion can be timely adjusted 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 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 processor 820 executable instructions; wherein in an embodiment of the present disclosure, processor 820 is configured to execute instructions to implement the flow distribution control method described in an embodiment of the present disclosure.
Bus 830 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics accelerator port, a processor, or a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include 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 can 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, non-volatile magnetic media (shown in FIG. 8, and commonly referred to as a "hard disk drive"). Although not shown in fig. 8, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 830 through one or more data medium interfaces. Memory 810 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the various embodiments of the disclosure.
Program/utility 8100 having a set (at least one) of program modules 870 may be stored, for example, in memory 810, such program modules 870 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 870 generally perform the functions and/or methods in the 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.), one or more devices that enable a user to interact with the computer device 800, and/or any device (e.g., network card, modem, etc.) that enables the computer device 800 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 892. Moreover, computer device 800 may also communicate with one or more networks such as 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 other modules of computer device 800 over bus 830. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with computer device 800, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
Processor 820 executes various functional applications and data processing by executing programs stored in memory 810.
It should be noted that, the implementation process and the technical principle of the computer in this embodiment refer to the foregoing explanation of the flow distribution control method in the embodiment of the disclosure, and are not repeated herein.
In order to implement the above-described embodiments, the present disclosure also proposes a storage medium.
Wherein in an embodiment of the disclosure, the instructions in the storage medium, when executed by a processor of the server, enable the server to perform the traffic distribution control method as described above.
To achieve 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 a flow 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 adaptations, uses, or adaptations of the disclosure following the general 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 is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (8)

1. A flow distribution control method, comprising:
performing flow distribution on a first functional interface and a second functional interface based on a preset flow distribution proportion, wherein the flow distribution proportion is the ratio of the flow of the second functional interface to the flow of the first functional interface;
acquiring first running state data of the first functional interface and second running state data of the second functional interface;
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 a corresponding score standard from a plurality of evaluation indexes, adding scores corresponding to the target evaluation indexes to obtain an evaluation total score, and evaluating the operation state of the second functional interface according to the evaluation total score to obtain an evaluation result;
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 when the evaluation result is smaller than a first preset threshold value and not smaller than a second preset threshold value, and evaluating the operation state of the second functional interface according to the first operation state data and the second operation state data, wherein the unit of the preset time is hours;
when the evaluation result is not smaller than a first preset threshold value, increasing the second flow distribution duty ratio of the second functional interface, reducing the first flow distribution duty ratio of the first functional interface, determining an adjusted flow distribution proportion according to the increased second flow distribution duty ratio and the reduced first flow distribution duty ratio, carrying out flow distribution on the first functional interface and the second functional interface again based on the adjusted flow distribution proportion, executing the steps of acquiring the first operation state data of the first functional interface and the second operation state data of the second functional interface, evaluating the operation state of the second functional interface according to the first operation state data and the second operation state data, and ending the flow distribution when the flow distribution duty ratio of the second functional interface meets preset conditions;
Determining the time for first traffic distribution;
counting total flow distribution duration according to the time of first flow distribution;
and controlling the adjustment frequency of the flow distribution proportion according to the total flow distribution duration and the preset minimum flow distribution duration so that the second flow distribution proportion of the second functional interface is not reduced to 0% or is not increased to 100% when the minimum flow distribution duration is not reached, wherein the minimum flow distribution duration is not less than 2 days.
2. The method of claim 1, wherein the increase in the traffic distribution duty cycle of the second functional interface is equal to the decrease in the traffic distribution duty cycle of the first functional interface.
3. The method of claim 2, wherein the second traffic distribution duty cycle of the second functional interface is reduced and the first traffic distribution duty cycle of the first functional interface is increased when the evaluation result is less than a second threshold, and wherein the adjusted traffic distribution ratio is determined based on the reduced second traffic distribution duty cycle and the increased first traffic distribution duty cycle, wherein the decrease in the traffic distribution duty cycle of the second functional interface is equal to the increase in the traffic distribution duty cycle of the first functional interface.
4. A flow distribution control device, 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, wherein the flow distribution proportion is the ratio of the flow of the second functional interface to the flow of the first functional interface;
the acquisition module is used for acquiring the first running state data of the first functional interface and the second running state data of the second functional interface;
the evaluation module is used for calculating an evaluation index value of each evaluation index according to the first running state data and the second running state data, determining at least one target evaluation index of which the evaluation index value meets a corresponding score standard from a plurality of evaluation indexes, adding scores corresponding to the target evaluation indexes to obtain an evaluation total score, and evaluating the running state of the second functional interface according to the evaluation total score to obtain an evaluation result;
the execution module is used for executing 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 after preset time when the evaluation result is smaller than a first preset threshold value and not smaller than a second preset threshold value, and executing the step of evaluating the operation state of the second functional interface according to the first operation state data and the second operation state data by the evaluation module, wherein the unit of the preset time is hours;
The adjusting module is used for increasing the second flow distribution ratio of the second functional interface and reducing the first flow distribution ratio of the first functional interface when the evaluation result is not smaller than a first preset threshold, determining an adjusted flow distribution ratio according to the increased second flow distribution ratio and the reduced first flow distribution ratio, carrying out flow distribution on the first functional interface and the second functional interface again based on the adjusted flow distribution ratio, executing the steps of acquiring the first operation state data of the first functional interface and the second operation state data of the second functional interface, evaluating the operation state of the second functional interface according to the first operation state data and the second operation state data, and ending the flow distribution when the flow distribution ratio of the second functional interface meets preset conditions;
the determining module is used for determining the time for carrying out flow distribution for the first time;
the statistics module is used for counting the total duration of flow distribution according to the time of first flow distribution;
the control module is used for controlling the adjustment frequency of the flow distribution proportion according to the total flow distribution duration and the preset minimum flow distribution duration so that the second flow distribution proportion of the second functional interface is not reduced to 0% or is not increased to 100% when the minimum flow distribution duration is not reached, wherein the minimum flow distribution duration is not less than 2 days.
5. The apparatus of claim 4, wherein an increase in the traffic distribution duty cycle of the second functional interface is equal to a decrease in the traffic distribution duty cycle of the first functional interface.
6. The apparatus of claim 5, wherein the second traffic distribution duty cycle of the second functional interface is decreased and the first traffic distribution duty cycle of the first functional interface is increased when the evaluation result is less than a second threshold, and wherein the adjusted traffic distribution ratio is determined based on the decreased second traffic distribution duty cycle and the increased first traffic distribution duty cycle, wherein the decrease in the traffic distribution duty cycle of the second functional interface is equal to the increase in the traffic distribution duty cycle of the first functional interface.
7. A storage medium, which when executed by a processor of a computer device, causes the computer device to perform the flow distribution control method of any of claims 1 to 3.
8. 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 flow distribution control method of any one of claims 1 to 3 when the computer program is executed.
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 CN114124819A (en) 2022-03-01
CN114124819B true 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)

Families Citing this family (2)

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

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127713B (en) * 2007-09-05 2011-04-06 华为技术有限公司 General traffic control device and traffic control method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN114124819A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
CN114124819B (en) Flow distribution control method and device, storage medium and computer equipment
US8386512B2 (en) System for managing data collection processes
CN110196767B (en) Service resource control method, device, equipment and storage medium
CN110930291B (en) GPU video memory management control method and related device
CN114443441B (en) Storage system management method, device and equipment and readable storage medium
CN113835626B (en) Method and device for determining usable time length of disk
CN110570246A (en) Internet marketing system flow segmentation method, system, equipment and medium
US20170337567A1 (en) Real-time system to identify and analyze behavioral patterns to predict churn risk and increase retention
CN109634740A (en) EMS memory management process and device
CN113590285A (en) Method, system and equipment for dynamically setting thread pool parameters
CN107122254B (en) Computer repair control method and system and repair method and system
CN106357445B (en) A kind of user experience monitoring method and monitoring server
CN115774646A (en) Process early warning method and device, electronic equipment and storage medium
CN116150067A (en) Bandwidth adjustment method, device, electronic equipment and storage medium
CN110347572A (en) A kind of performance logs output method, device, system, equipment and medium
CN112367540B (en) Method and device for monitoring live broadcast stream pushing number on line
CN115422010A (en) Node management method and device in data cluster and storage medium
KR100791307B1 (en) Apparatus and method for determining billable resources on a computer network
CN109766243B (en) Multi-core host performance monitoring method based on power function
CN103312529A (en) Method, device and system for monitoring system functions
CN111694706A (en) Cloud mobile phone fault processing method and system and storage medium
CN111737555A (en) Method and device for selecting hot keywords and storage medium
CN110838985B (en) Method and device for controlling data exchange rate in grading manner
JP4085695B2 (en) Backup apparatus, backup method, and backup evaluation program
CN114625572B (en) Reverse debugging memory backup method, electronic device and medium

Legal Events

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