Parameter configuration method and related system
A parameter configuration method includes: receiving a configuration parameter of a service system and a service objective of the service system through a standard interface, performing parameter optimization on the configuration parameter to obtain a recommended parameter value that meets the service objective, and then outputting the recommended parameter value to implement parameter configuration for the service system. The parameter configuration method abstracts parameter configuration problems in different service scenarios into a mathematical problem of inputting and expression through a standard interface. In this way, a universal parameter configuration method is provided without case-by-case parameter configuration. In addition, an expert in the service field can independently complete parameter configuration without artificial intelligence experience.
1 . A parameter configuration method, comprising:
receiving, through a standard interface, a configuration parameter of a service system and a service objective of the service system, wherein the standard interface comprises a configuration parameter application programming interface (API), a service objective API, a load API, and a constraint condition API;
performing parameter optimization on the configuration parameter to obtain a recommended parameter value that meets the service objective; and
outputting the recommended parameter value to configure the configuration parameter.
2 . The parameter configuration method of claim 1 , further comprising receiving, through the standard interface, at least one of a load or a constraint condition, wherein performing the parameter optimization comprises performing the parameter optimization on the configuration parameter based on the at least one of the load or the constraint condition.
3 . The parameter configuration method of claim 1 , wherein the standard interface comprises an application programming interface (API).
4 . The parameter configuration method of claim 1 , further comprising determining, using condition-based determining control logic, a parameter optimization algorithm corresponding to the configuration parameter.
5 . The parameter configuration method of claim 4 , wherein determining the parameter optimization algorithm comprises determining the parameter optimization algorithm using a condition-based determining decision tree.
6 . The parameter configuration method of claim 4 , wherein determining the parameter optimization algorithm comprises:
determining a probability of at least one parameter optimization algorithm using the condition-based determining control logic; and
determining, according to the probability, the parameter optimization algorithm.
7 . The parameter configuration method of claim 1 , further comprising preprocessing the configuration parameter.
8 . A parameter configuration system, comprising:
an interface configured to receive, through a standard interface, a configuration parameter of a service system and a service objective of the service system, wherein the standard interface comprises a configuration parameter application programming interface (API), a service objective API, a load API, and a constraint condition API; and
a parameter optimizer configured to perform parameter optimization on the configuration parameter to obtain a recommended parameter value that meets the service objective,
wherein the interface is further configured to output the recommended parameter value to configure the configuration parameter.
9 . The parameter configuration system of claim 8 , wherein the interface is further configured to receive, through the standard interface, at least one of a load or a constraint condition, and wherein performing the parameter optimization comprises performing the parameter optimization based on the at least one of the load or the constraint condition.
10 . The parameter configuration system of claim 8 , wherein the standard interface comprises an application programming interface (API).
11 . The parameter configuration system of claim 8 , further comprising a controller configured to determine, using condition-based determining control logic, a parameter optimization algorithm corresponding to the configuration parameter.
12 . The parameter configuration system of claim 11 , wherein the controller is further configured to determine the parameter optimization algorithm using a condition-based determining decision tree.
13 . The parameter configuration system of claim 11 , wherein the controller is further configured to:
determine a probability of at least one parameter optimization algorithm using the condition-based determining control logic; and
determine, according to the probability, the parameter optimization algorithm.
14 . The parameter configuration system of claim 8 , further comprising a parameter preprocessor configured to preprocess the configuration parameter.
15 . A device, comprising:
a standard interface, wherein the standard interface comprises a configuration parameter application programming interface (API), a service objective API, a load API, and a constraint condition API; and
one or more processors coupled to the standard interface and configured to cause the device to:
receive, through the standard interface, a configuration parameter of a service system and a service objective of the service system;
perform parameter optimization on the configuration parameter to obtain a recommended parameter value that meets the service objective; and
output the recommended parameter value to configure the configuration parameter.
16 . The device of claim 15 , wherein the standard interface comprises an application programming interface (API).
17 . The device of claim 15 , wherein the one or more processors are further configured to cause the device to determine, using condition-based determining control logic, a parameter optimization algorithm corresponding to the configuration parameter.
18 . The device of claim 17 , wherein the one or more processors are further configured to cause the device to determine the parameter optimization algorithm using a condition-based determining decision tree.
19 . The device of claim 17 , wherein the one or more processors are further configured to cause the device to:
determine a probability of at least one parameter optimization algorithm using the condition-based determining control logic; and
determine, according to the probability, the parameter optimization algorithm.
20 . The device of claim 15 , wherein the one or more processors are further configured to cause the device to receive, through the standard interface, at least one of a load or a constraint condition, and wherein performing the parameter optimization comprises performing the parameter optimization based on the at least one of the load or the constraint condition.