Parameter configuration method, device, equipment and medium

By determining the configuration type and time of database parameters and refining the configuration operations, the problem of low accuracy in database parameter configuration was solved, and more efficient database configuration was achieved.

CN120910024APending Publication Date: 2025-11-07INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511091358.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-05
Publication Date
2025-11-07

AI Technical Summary

Technical Problem

In existing technologies, the accuracy of database configuration parameters is low. When configuring manually, it is difficult to guarantee accuracy in the face of diverse configuration environments and a large number of parameters.

Method used

By obtaining the parameter configuration rules of the database to be configured, the configuration type corresponding to each parameter is determined, and the configuration is performed within the corresponding time according to the configuration type and rules, including additional configuration, standard configuration and special configuration, thus refining the parameter configuration operation.

Benefits of technology

It improves the accuracy of parameter configuration, ensures precise database configuration under different configuration types, and enhances the stability and efficiency of database operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120910024A_ABST
    Figure CN120910024A_ABST
Patent Text Reader

Abstract

The invention discloses a parameter configuration method and device, equipment and a medium, and relates to the field of financial science and technology. The method comprises the steps of obtaining a to-be-configured database of a target object; determining a configuration type corresponding to each parameter according to a parameter configuration rule of each parameter to be configured in the database to be configured; for each configuration type, querying in a parameter configuration rule to obtain configuration time corresponding to the configuration type; and configuring corresponding parameters in the to-be-configured database according to the configuration type and the parameter configuration rule within the configuration time. According to the embodiment of the invention, the parameter configuration accuracy can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data processing and the field of financial technology, and in particular to a parameter configuration method and device, equipment and medium. BACKGROUND

[0002] With the rapid development of technology, the types of electronic devices gradually increase, and different types of electronic devices can store data through different types of databases. When using a database, the database needs to be parameter configured to ensure safe operation.

[0003] At present, the database is parameter configured one by one according to the database configuration document by human.

[0004] However, the configuration environment of the database is various, and the types of configuration parameters of the database are various and the number of configuration parameters is huge, so the accuracy of human configuration parameters is low. SUMMARY

[0005] The present application provides a parameter configuration method, device, equipment and medium to improve the accuracy of parameter configuration.

[0006] In a first aspect, the present application provides a parameter configuration method, which comprises:

[0007] obtaining a to-be-configured database of a target object;

[0008] determining a configuration type corresponding to each parameter according to a parameter configuration rule of each parameter to be configured in the to-be-configured database;

[0009] for each configuration type, querying a configuration time corresponding to the configuration type in the parameter configuration rule;

[0010] configuring a corresponding parameter in the to-be-configured database according to the configuration type and the parameter configuration rule within the configuration time.

[0011] In a second aspect, the present application further provides a parameter configuration device, which comprises:

[0012] a database obtaining module configured to obtain a to-be-configured database of a target object;

[0013] a type determining module configured to determine a configuration type corresponding to each parameter according to a parameter configuration rule of each parameter to be configured in the to-be-configured database;

[0014] a time determining module configured to query a configuration time corresponding to each configuration type in the parameter configuration rule;

[0015] a parameter configuration module configured to configure a corresponding parameter in the to-be-configured database according to the configuration type and the parameter configuration rule within the configuration time.

[0016] In a third aspect, the embodiments of the present application further provide a parameter configuration device, the parameter configuration device comprising:

[0017] at least one processor; and

[0018] a memory in communication with the at least one processor; wherein

[0019] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the parameter configuration method of any of the embodiments of the present application.

[0020] According to another aspect of the present application, a computer readable storage medium is provided, the computer readable storage medium stores computer instructions for enabling a processor to implement the parameter configuration method of any of the embodiments of the present application when executed by the processor.

[0021] The technical solution of the embodiments of the present application determines the configuration types corresponding to the parameters in the to-be-configured database according to the parameter configuration rules of the parameters in the to-be-configured database; determines different configuration times for different configuration types; and configures the corresponding parameters in the to-be-configured database according to the configuration types and the parameter configuration rules within the configuration times, thereby performing different parameter configuration methods for different configuration types, refining the parameter configuration operation, and improving the accuracy of parameter configuration.

[0022] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present application, nor is it used to limit the scope of the present application. Other features of the present application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.

[0024] Figure 1 is a flowchart of a parameter configuration method according to the first embodiment of the present application;

[0025] Figure 2 is a flowchart of a parameter configuration method according to the second embodiment of the present application;

[0026] Figure 3 is a structural diagram of a parameter configuration device according to the embodiments of the present application;

[0027] Figure 4 is a structural schematic diagram of a parameter configuration device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0028] In order for those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts should fall within the scope of the present application.

[0029] It should be noted that the terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but can include other steps or units that are not clearly listed or inherent to the process, method, product, or device.

[0030] In the technical solutions of the embodiments of the present application, the acquisition, storage, and application of the parameter configuration rules and the like are in line with the relevant legal regulations and do not violate public order and good customs.

[0031] The collected information is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure, and application of the relevant data comply with the relevant legal regulations and standards of the relevant countries and regions, necessary security measures are taken, public order and good customs are not violated, and appropriate operation portals are provided for the user to choose authorization or refusal.

[0032] Embodiment one

[0033] Figure 1 A flowchart of a parameter configuration method provided by the first embodiment of the present application. The embodiments of the present application can be applicable to the case of parameter configuration, and the method can be executed by a parameter configuration device, which can be realized in the form of hardware and / or software.

[0034] Referring to Figure 1 The parameter configuration method shown in the figure includes:

[0035] S101, acquiring a to-be-configured database of a target object.

[0036] The database to be configured can be a database to be configured with parameters. The target object can be an object providing a running environment for the database to be configured.

[0037] Specifically, the target object can be application software of a server or a client, etc. The database to be configured is configured on the target object, and the target object provides a running environment for the database to be configured. By configuring parameters related to the running environment of the database to be configured, it can be ensured that the database to be configured can stably run on the target object. In addition, parameters related to data interaction of the database to be configured can be configured to enable the database to be configured to perform data interaction with other databases.

[0038] S102, determining configuration types corresponding to the parameters according to parameter configuration rules of the parameters to be configured in the database to be configured.

[0039] The parameter configuration rule can be a specification description information of the parameter, which is used to ensure that the parameter is configured in an expected manner to achieve a specific function or reach an optimal performance state. The configuration type can be an identifier of a configuration manner of the parameter, and different configuration types correspond to different configuration manners of the parameter, so that the parameters are configured according to different standards or characteristics.

[0040] Specifically, a parameter technical document is obtained, and the parameter technical document includes a development technical specification document, a usage guide document, or a baseline document, etc. The parameter technical document is identified to determine at least one database type and parameter configuration rules of at least one parameter to be configured corresponding to each database type, and a rule library is obtained. According to the database to be configured, the rule library is searched to determine at least one parameter to be configured corresponding to the database to be configured and parameter configuration rules of each parameter. According to the parameter configuration rules of the parameters to be configured of the database to be configured, the parameters to be configured are classified, and different parameter classes correspond to different parameter configuration rules. For each parameter class, according to the parameter configuration rule of the parameter class, parameter configuration address information corresponding to the database to be configured is determined, the parameter configuration address information is used to describe address information of parameter storage for configuring the parameters of the parameter class, and according to the parameter configuration address information, configuration types corresponding to the parameters are determined.

[0041] S103, for each configuration type, a configuration time corresponding to the configuration type is obtained by searching in the parameter configuration rule.

[0042] The configuration time can be used to describe a time length during which the parameter can be configured.

[0043] Specifically, when configuring the parameters of the database to be configured, different configuration times correspond to different configuration types. The parameters corresponding to the configuration type of the database to be configured can be configured only within the configuration time. For example, the connection request parameter can be used to configure whether the database to be configured sends a connection request to the target database. The configuration time of the connection request parameter can be 10 seconds. When the database to be configured sends a connection request to the target database, if the connection with the target database is not successful, the parameter value of the connection request parameter can still be set to TRUE within 10 seconds, indicating that the connection request is still sent within 10 seconds, and then the parameter value of the connection request parameter is set to FALSE. If the connection with the target database is not successful within 10 seconds, the connection request is not sent. The database object definition parameter can be the column data type, length, and constraint condition set when creating a data table. The configuration time of these parameters can be 24 hours, and the parameter value of the database object definition parameter can be configured within 24 hours.

[0044] In S104, within the configuration time, the corresponding parameters in the database to be configured are configured according to the configuration type and the parameter configuration rule.

[0045] Specifically, one database to be configured can correspond to at least one configuration type, and the configuration type corresponds to the configuration time one by one. According to the configuration type, at least one parameter to be configured corresponding to the configuration type of the database to be configured is determined, for each parameter, the configuration specification corresponding to the parameter is found in the parameter configuration rule, and within the configuration time, the parameter value of the parameter is configured according to the configuration specification.

[0046] The technical scheme of the embodiment of the application determines the configuration type corresponding to each parameter in the database to be configured through the parameter configuration rule of each parameter to be configured in the database to be configured, determines different configuration times for different configuration types, and configures the corresponding parameters in the database to be configured according to the configuration type and the parameter configuration rule within the configuration time. Different parameter configuration methods are executed for different configuration types, the parameter configuration operation is refined, and the accuracy of parameter configuration is improved.

[0047] Embodiment two

[0048] Figure 2 A flowchart of a parameter configuration method provided by the second embodiment of the application. The parameter configuration operation is optimized and improved on the basis of the above-mentioned embodiment.

[0049] Further, the "configuring the corresponding parameters in the to-be-configured database according to the configuration type and the parameter configuration rule" is further specified as "if the configuration type is an additional configuration, obtaining additional parameter data corresponding to the to-be-configured database, and configuring the corresponding parameters in the to-be-configured database according to the additional parameter data; if the configuration type is a rated configuration, configuring the corresponding parameters in the to-be-configured database according to the parameter configuration rule; and if the configuration type is a special configuration, determining a configuration trigger condition according to the parameter configuration rule, and configuring the corresponding parameters in the to-be-configured database according to the configuration trigger condition", so as to improve the operation of parameter configuration.

[0050] It should be noted that the parts not described in detail in the embodiments of the present application can refer to the descriptions of other embodiments.

[0051] Referring to Figure 2 The parameter configuration method shown in the parameter configuration method comprises the following steps.

[0052] S201, obtaining a to-be-configured database of a target object.

[0053] S202, determining the configuration type corresponding to each parameter in the to-be-configured database according to the parameter configuration rule of each parameter to be configured in the to-be-configured database.

[0054] S203, for each configuration type, querying the configuration time corresponding to the configuration type in the parameter configuration rule.

[0055] S204, within the configuration time, if the configuration type is an additional configuration, obtaining additional parameter data corresponding to the to-be-configured database, and configuring the corresponding parameters in the to-be-configured database according to the additional parameter data.

[0056] The additional configuration can be a type of configuring the parameters of the to-be-configured database through an additional configuration specification added by the to-be-configured database.

[0057] Specifically, different databases can be customized with personalized parameter configuration rules. The parameter configuration rule can be used to query the obtaining address of the parameter rule of the additional configuration corresponding to the to-be-configured database. The obtaining address can be the address of the remaining client or server. The parameter rule of the additional configuration is obtained through the obtaining address of the parameter rule of the additional configuration. When configuring the same parameter, the parameter configuration rule has a higher level than the rule corresponding to the additional configuration, and the parameter is configured through the rule of the additional configuration.

[0058] S205, if the configuration type is a rated configuration, configuring the corresponding parameters in the to-be-configured database according to the parameter configuration rule.

[0059] The rated configuration can be a type of configuring the parameters of the to-be-configured database through the parameter configuration rule.

[0060] Specifically, if the configuration type is the normal configuration, it indicates that the parameters of the to-be-configured database can be configured only by the parameter specification defined by the parameter configuration rule. No individual customization of the configuration information is required, and the configuration specification of the to-be-configured parameter is obtained by screening the to-be-configured parameter in the parameter configuration rule. The to-be-configured parameter in the to-be-configured database is configured according to the configuration specification. For example, the parameter configuration rule can be: the minimum value of the database connection pool is greater than or equal to 1, and the maximum value is less than or equal to the maximum number of connections supported by the server memory 151. The timeout time rule: must be a positive number. The cache expiration time rule: must be greater than 0 and not more than 30 days.

[0061] S206, if the configuration type is special configuration, determine the configuration trigger condition according to the parameter configuration rule, and configure the corresponding parameters in the to-be-configured database according to the configuration trigger condition.

[0062] The special configuration can be a type of parameter configuration for the to-be-configured database in a specific scenario. The configuration trigger condition can be a specific rule or event description information preset. When the rules are met or the events occur, the corresponding operation, function or process is automatically triggered.

[0063] Specifically, if the configuration type is special configuration, it indicates that when the parameter value of the to-be-configured database parameter meets the configuration trigger condition, the parameters in the to-be-configured database in the special scenario can be configured, otherwise the parameters in the to-be-configured database in the special scenario cannot be configured.

[0064] The embodiment of the application can obtain the additional parameter data corresponding to the to-be-configured database, configure the corresponding parameters in the to-be-configured database according to the additional parameter data, if the configuration type is normal configuration, configure the corresponding parameters in the to-be-configured database according to the parameter configuration rule, if the configuration type is special configuration, determine the configuration trigger condition according to the parameter configuration rule, and configure the corresponding parameters in the to-be-configured database according to the configuration trigger condition. Different parameter configuration methods are used for different configuration types, the parameter configuration method is refined, and the accuracy of parameter configuration is improved.

[0065] Optionally, the additional parameter data corresponding to the to-be-configured database is obtained, and the corresponding parameters in the to-be-configured database are configured according to the additional parameter data, including: obtaining the additional parameter data corresponding to the to-be-configured database, the additional parameter data including: at least one additional parameter item and the additional parameter value corresponding to each additional parameter item; determining at least one to-be-configured item corresponding to the to-be-configured database and the configuration parameter corresponding to each to-be-configured item according to the parameter configuration rule; and updating the configuration parameter corresponding to each to-be-configured item according to the additional parameter data.

[0066] The additional parameter data can be a description of a specification of an additional parameter configuration added to the parameters of the database to be configured.

[0067] Specifically, the acquisition address corresponding to the additional parameter data corresponding to the database to be configured can be queried according to the database to be configured, and the additional parameter data corresponding to the database to be configured can be queried according to the acquisition address. The additional parameter data corresponding to the database to be configured includes at least one additional parameter item and an additional parameter value corresponding to each additional parameter item. The at least one configuration item to be configured and the configuration parameter corresponding to each configuration item to be configured are determined according to the parameter configuration rule. The configuration parameter corresponding to each configuration item to be configured is updated according to the additional parameter data.

[0068] By acquiring the additional parameter data corresponding to the database to be configured, the at least one configuration item to be configured and the configuration parameter corresponding to each configuration item to be configured are determined according to the parameter configuration rule. The configuration parameter corresponding to each configuration item to be configured is updated according to the additional parameter data, the parameters of the database to be configured are configured individually, and the operation of the database to be configured is more in line with the needs of the user.

[0069] Optionally, the configuration trigger condition is determined according to the parameter configuration rule, and the corresponding parameters in the database to be configured are configured according to the configuration trigger condition, including: the configuration trigger condition corresponding to the database to be configured is determined according to the parameter configuration rule, and the configuration trigger condition includes at least one trigger item and a trigger data range corresponding to each trigger item. For each trigger item, it is detected whether the parameter value of the parameter item corresponding to the trigger item in the database to be configured is located in the trigger data range. When the parameter value is located in the trigger data range, the corresponding parameters in the database to be configured are configured by the parameter configuration rule.

[0070] Specifically, the acquisition address of the database to be configured is queried according to the parameter configuration rule, at least one trigger item is determined according to the acquisition address, the trigger data range corresponding to each trigger item is queried in the parameter configuration rule according to each trigger item, and the configuration trigger condition corresponding to the database to be configured is determined. For each trigger item, it is detected whether the parameter value of the parameter item corresponding to the trigger item in the database to be configured is located in the trigger data range. When the parameter value is located in the trigger data range, it indicates that the running condition of the current database to be configured meets the configuration trigger condition, and the corresponding parameters in the database to be configured are configured by the parameter configuration rule. When any parameter value in each trigger item is not located in the trigger data range, it indicates that the running condition of the current database to be configured does not meet the configuration trigger condition, and the corresponding parameters in the database to be configured are not configured by the parameter configuration rule, and the parameter values of each trigger item in the database to be configured are continuously detected.

[0071] By determining the configuration trigger condition corresponding to the to-be-configured database according to the parameter configuration rule, for each trigger item, detecting whether the parameter value of the parameter item corresponding to the trigger item in the to-be-configured database is located in the trigger data range; when the parameter value is located in the trigger data range, configuring the corresponding parameter in the to-be-configured database through the parameter configuration rule, monitoring the running data of the to-be-configured database, and performing different parameter configuration modes for different special scenarios to realize parameter configuration in the special scenarios and improve the accuracy of parameter configuration.

[0072] Optionally, according to the parameter configuration rule of each parameter to be configured in the to-be-configured database, the configuration type corresponding to each parameter is determined, including: for each parameter, when the storage address configured in the parameter configuration rule of the parameter includes a device identifier, it is determined that the configuration type corresponding to the parameter is additional configuration; when the storage address configured in the parameter configuration rule of the parameter includes a file identifier, it is determined that the configuration type corresponding to the parameter is rated configuration; and when the storage address configured in the parameter configuration rule of the parameter includes a parameter identifier, it is determined that the configuration type corresponding to the parameter is special configuration.

[0073] The storage address can be an address for storing parameter data to be configured. The device identifier can be used to uniquely identify a device. The file identifier can be used to identify a file storing the parameter configuration rule. The parameter identifier can be used to identify a parameter to be detected.

[0074] Specifically, different parameters correspond to different acquisition addresses, and the acquisition address can be the storage address of the parameter. For each parameter, when the storage address configured in the parameter configuration rule of the parameter includes a device identifier, it indicates that the acquisition address of the parameter information for the parameter configuration of the to-be-configured database is in a device, that is, the personalized customization information needs to be acquired from the device corresponding to the device identifier, and it is determined that the configuration type corresponding to the parameter is additional configuration. When the storage address configured in the parameter configuration rule of the parameter includes a file identifier, it indicates that the parameter does not need to be personalized configured, and the parameter can be configured only through the parameter configuration rule, and it is determined that the configuration type corresponding to the parameter is rated configuration. When the storage address configured in the parameter configuration rule of the parameter includes a parameter identifier, the parameter identifier can be at least one, indicating that the parameter value corresponding to the parameter identifier needs to be acquired, the configuration parameter condition corresponding to the parameter identifier is determined, and it is determined that the configuration type corresponding to the parameter is special configuration.

[0075] By aiming at each parameter, when the storage address configured in the parameter configuration rule of the parameter includes the device identifier, it is determined that the configuration type corresponding to the parameter is additional configuration; when the storage address configured in the parameter configuration rule of the parameter includes the file identifier, it is determined that the configuration type corresponding to the parameter is rated configuration; when the storage address configured in the parameter configuration rule of the parameter includes the parameter identifier, it is determined that the configuration type corresponding to the parameter is special configuration. Different configuration types are determined according to different configuration storage addresses, which refines the accuracy of configuration type division.

[0076] Optionally, after the parameter data configuration of the to-be-configured database according to the configuration type and the parameter configuration rule data is performed within the configuration time, the method further includes: obtaining to-be-verified parameter data of the to-be-configured database and associated data corresponding to the to-be-verified parameter data, the associated data including at least one associated parameter, an associated value corresponding to each associated parameter, and connection relationship data between each associated parameter and the to-be-verified parameter data; identifying the associated data to determine a current running scene type; determining conflict data according to the current running scene type, the conflict data including first data and second data; verifying whether the associated data contains the conflict data according to the conflict data, to obtain a verification result; and generating an alarm prompt information according to the verification result.

[0077] The to-be-verified parameter can be a parameter to be verified whether it is configured accurately. The associated data can be other parameters having a logical relationship, a dependency relationship, or a rule constraint with the to-be-verified parameter in a data verification process.

[0078] Specifically, the associated data corresponding to the to-be-configured database is obtained according to the parameter configuration rule query. The to-be-verified parameter data of the to-be-configured database and the associated data corresponding to the to-be-verified parameter data are obtained, the associated data including at least one associated parameter, an associated value corresponding to each associated parameter, and connection relationship data between each associated parameter and the to-be-verified parameter data. The associated data is identified to determine a current running scene type. Different running scenes correspond to different conflict data. The conflict data can be data that is contradictory, conflicting, or cannot be effective at the same time in parameter configuration. For example, the types of conflict data include logical conflict, resource conflict, and function conflict. Logical conflict: the function definition of the parameter is contradictory (for example, two mutually exclusive storage engines are enabled at the same time). Resource conflict: multiple parameters make conflicting occupancy requirements for the same resource (such as memory or CPU). Function conflict: different parameter combinations will cause function failure (such as enabling both archive mode and non-archive mode). According to the current running scene type, the conflict data is determined, the conflict data including first data and second data. According to the conflict data, it is verified whether the associated data contains the conflict data, and a verification result is obtained. If the verification result is that the associated data contains the first data and the second data, it indicates that the associated data contains mutually conflicting data, and an alarm prompt information is generated. If the verification result is that the associated data contains one of the first data or the second data, or neither of them, it indicates that the associated data does not contain mutually conflicting data, and no alarm prompt information is generated.

[0079] By obtaining the to-be-verified parameter data of the to-be-configured database and the associated data corresponding to the to-be-verified parameter data, the associated data is identified to determine a current running scene type. According to the current running scene type, the conflict data is determined, the conflict data including first data and second data. According to the conflict data, it is verified whether the associated data contains the conflict data, and a verification result is obtained. According to the verification result, an alarm prompt information is generated, the configuration data of the to-be-configured database is verified, and the accuracy of the configuration of the to-be-configured database is improved.

[0080] Optionally, the to-be-configured parameters include a driver parameter, a connection pool parameter, and a server parameter.

[0081] Specifically, the to-be-configured parameters include: a driver parameter, a connection pool parameter, and a server parameter. The driver parameter can be configuration information when an application establishes a connection with a database, can be a timeout time or an encryption mode, and directly affects communication efficiency and data security. The connection pool parameter can be a configuration item for managing database connection resources, can be a maximum number of connections or an idle recycling time, and improves performance by pre-initializing a connection pool. The server parameter can be an internal basic configuration of a database server, covers memory allocation or concurrency control, and determines database running stability and performance. The driver parameter / connection pool parameter: in a virtual machine or container environment, deploy a collection tool, extract the driver parameter and the connection pool parameter by establishing a data agent. The specific steps are as follows: obtain virtual machine and container environment information; inject a probe program into each virtual machine / container through a remote service, and start the probe program. Obtain the driver parameter / connection pool parameter from the memory of the application: through the underlying interface of the virtual machine, the object of a certain class in the virtual machine can be obtained, and then the value of the corresponding attribute of the object is obtained, which is the parameter value. The server parameter can be obtained by connecting different databases through commands.

[0082] By the to-be-configured parameters including: the driver parameter, the connection pool parameter, and the server parameter, the database of the server and the client can be configured, and the comprehensiveness of the parameter configuration is improved.

[0083] Embodiment three

[0084] Figure 3 A structural schematic diagram of a parameter configuration device provided for the third embodiment of the application. The embodiment of the application can be applicable to the case of parameter configuration, the device can execute the parameter configuration method, and the device can be realized in the form of hardware and / or software.

[0085] Referring to Figure 3 The parameter configuration device shown in the figure includes: a database obtaining module 301, a type determining module 302, a time determining module 303, and a parameter configuration module 304, wherein,

[0086] The database obtaining module 301 is configured to obtain a to-be-configured database of a target object.

[0087] The type determining module 302 is configured to determine a configuration type corresponding to each parameter according to a parameter configuration rule of each to-be-configured parameter in the to-be-configured database.

[0088] The time determining module 303 is configured to query a configuration time corresponding to each configuration type in the parameter configuration rule.

[0089] The parameter configuration module 304 is configured to configure a corresponding parameter in the to-be-configured database according to the configuration type and the parameter configuration rule within the configuration time.

[0090] The technical scheme of the embodiment of the application determines the configuration types corresponding to the parameters in the to-be-configured database according to the parameter configuration rules of the parameters in the to-be-configured database; determines different configuration times for different configuration types; and configures the corresponding parameters in the to-be-configured database according to the configuration types and the parameter configuration rules within the configuration times, so that different parameter configuration methods are performed for different configuration types, the parameter configuration operation is refined, and the accuracy of parameter configuration is improved.

[0091] Optionally, the parameter configuration module 304 comprises:

[0092] an additional configuration unit, configured to, if the configuration type is additional configuration, obtain additional parameter data corresponding to the to-be-configured database, and configure the corresponding parameters in the to-be-configured database according to the additional parameter data;

[0093] a rated configuration unit, configured to, if the configuration type is rated configuration, configure the corresponding parameters in the to-be-configured database according to the parameter configuration rules;

[0094] a special configuration unit, configured to, if the configuration type is special configuration, determine a configuration trigger condition according to the parameter configuration rules, and configure the corresponding parameters in the to-be-configured database according to the configuration trigger condition.

[0095] Optionally, the additional configuration unit is specifically configured to:

[0096] obtain additional parameter data corresponding to the to-be-configured database, wherein the additional parameter data comprises at least one additional parameter item and an additional parameter value corresponding to each additional parameter item;

[0097] determine at least one to-be-configured item corresponding to the to-be-configured database and a configuration parameter corresponding to each to-be-configured item according to the parameter configuration rules;

[0098] update the configuration parameter corresponding to each to-be-configured item according to the additional parameter data.

[0099] Optionally, the special configuration unit is specifically configured to:

[0100] determine a configuration trigger condition corresponding to the to-be-configured database according to the parameter configuration rules, wherein the configuration trigger condition comprises at least one trigger item and a trigger data range corresponding to each trigger item;

[0101] detect whether a parameter value of a parameter item corresponding to each trigger item in the to-be-configured database is located in the trigger data range;

[0102] when the parameter value is located in the trigger data range, configure the corresponding parameters in the to-be-configured database according to the parameter configuration rules.

[0103] Optionally, the type determining module 302 is specifically used for:

[0104] For each parameter, when the storage address configured in the parameter configuration rule of the parameter includes the device identifier, it is determined that the configuration type corresponding to the parameter is additional configuration.

[0105] When the storage address configured in the parameter configuration rule of the parameter includes the file identifier, it is determined that the configuration type corresponding to the parameter is normal configuration.

[0106] When the storage address configured in the parameter configuration rule of the parameter includes the parameter identifier, it is determined that the configuration type corresponding to the parameter is special configuration.

[0107] Optionally, the parameter configuration apparatus is further used for:

[0108] Obtaining the to-be-verified parameter data of the to-be-configured database and the associated data corresponding to the to-be-verified parameter data, the associated data including at least one associated parameter, the associated value corresponding to each associated parameter, and the connection relationship data between each associated parameter and the to-be-verified parameter data.

[0109] Identifying the associated data to determine the current running scene type.

[0110] According to the current running scene type, determining the conflict data, the conflict data including the first data and the second data.

[0111] According to the conflict data, verifying whether the associated data contains the conflict data to obtain a verification result.

[0112] According to the verification result, generating an alarm prompt information.

[0113] Optionally, the to-be-configured parameters include the drive parameter, the connection pool parameter, and the server parameter.

[0114] The parameter configuration apparatus provided in the embodiments of the present application can execute the parameter configuration method provided in any of the embodiments of the present application, and has the corresponding function modules and beneficial effects of executing the parameter configuration method.

[0115] Embodiment four

[0116] Figure 4 A structural schematic diagram of a parameter configuration device 400 that can be used to implement the embodiments of the present application is shown.

[0117] As Figure 4As shown, the parameter configuration device 400 includes at least one processor 401, and a memory, such as a read-only memory (ROM) 402, a random access memory (RAM) 403, etc., connected to the at least one processor 401 in communication. The memory stores computer programs executable by the at least one processor 401, and the processor 401 can perform various appropriate actions and processes according to the computer programs stored in the read-only memory (ROM) 402 or loaded from the storage unit 408 into the random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the parameter configuration device 400 can also be stored. The processor 401, the ROM 402, and the RAM 403 are connected to each other through a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0118] Various components in the parameter configuration device 400 are connected to the I / O interface 405, including an input unit 406, such as a keyboard, a mouse, etc., an output unit 407, such as various types of displays, speakers, etc., a storage unit 408, such as a magnetic disk, an optical disk, etc., and a communication unit 409, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 409 allows the parameter configuration device 400 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.

[0119] The processor 401 can be various general and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 401 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 401 performs various methods and processes described above, such as the parameter configuration method.

[0120] In some embodiments, the parameter configuration method can be implemented as a computer program tangibly embodied in a computer readable storage medium, such as the storage unit 408. In some embodiments, part or all of the computer program can be loaded and / or installed onto the parameter configuration device 400 via the ROM 402 and / or the communication unit 409. When the computer program is loaded onto the RAM 403 and executed by the processor 401, one or more steps of the parameter configuration method described above can be performed. Alternatively, in other embodiments, the processor 401 can be configured to perform the parameter configuration method by any other appropriate means, such as by means of firmware.

[0121] The various embodiments of the systems and techniques described above can be implemented in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a complex programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0122] Computer programs used to implement the processes of the application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer program

[0123] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store computer programs for use by or in connection with an instruction execution system, apparatus, or device. Computer-readable storage media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0124] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer system having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer system. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0125] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), blockchain network, and the Internet.

[0126] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. A server can be a cloud server, also known as cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS (Virtual Private Server).

[0127] It should be understood that the various forms of flow shown above can be re-ordered, added to, or deleted from without departing from the scope of the present disclosure. For example, the steps recited in the present disclosure can be executed in parallel, executed in sequence, or executed in different orders, as long as the desired results of the present disclosure are achieved, and the present disclosure is not limited herein.

[0128] The above detailed description does not limit the scope of the application. Various modifications, combinations, sub-combinations and alternatives can be made to the detailed description. Any modification, equivalent replacement and improvement etc. made within the spirit and principle of the application shall be included in the scope of the application.

Claims

1. A method of parameter configuration, characterized by, The method comprises: acquiring a to-be-configured database of a target object; determining a configuration type corresponding to each parameter according to a parameter configuration rule of each parameter to be configured in the to-be-configured database; for each configuration type, querying a configuration time corresponding to the configuration type in the parameter configuration rule; configuring a corresponding parameter in the to-be-configured database according to the configuration type and the parameter configuration rule within the configuration time.

2. The method of claim 1, wherein, The configuration of the corresponding parameter in the to-be-configured database according to the configuration type and the parameter configuration rule comprises: if the configuration type is additional configuration, acquiring additional parameter data corresponding to the to-be-configured database, and configuring the corresponding parameter in the to-be-configured database according to the additional parameter data; if the configuration type is rated configuration, configuring the corresponding parameter in the to-be-configured database according to the parameter configuration rule; if the configuration type is special configuration, determining a configuration trigger condition according to the parameter configuration rule, and configuring the corresponding parameter in the to-be-configured database according to the configuration trigger condition.

3. The method of claim 2, wherein, The acquisition of the additional parameter data corresponding to the to-be-configured database and the configuration of the corresponding parameter in the to-be-configured database according to the additional parameter data comprise: acquiring additional parameter data corresponding to the to-be-configured database, the additional parameter data comprising at least one additional parameter item and an additional parameter value corresponding to each additional parameter item; determining at least one to-be-configured item corresponding to the to-be-configured database and a configuration parameter corresponding to each to-be-configured item according to the parameter configuration rule; updating the configuration parameter corresponding to each to-be-configured item according to the additional parameter data.

4. The method of claim 2, wherein, The determination of the configuration trigger condition according to the parameter configuration rule and the configuration of the corresponding parameter in the to-be-configured database according to the configuration trigger condition comprise: determining a configuration trigger condition corresponding to the to-be-configured database according to the parameter configuration rule, the configuration trigger condition comprising at least one trigger item and a trigger data range corresponding to each trigger item; for each trigger item, detecting whether a parameter value of a parameter item corresponding to the trigger item in the to-be-configured database is located in the trigger data range; when the parameter value is located in the trigger data range, configuring the corresponding parameter in the to-be-configured database through the parameter configuration rule.

5. The method of claim 1, wherein, The determination of the configuration type corresponding to each parameter according to the parameter configuration rule of each parameter to be configured in the to-be-configured database comprises: for each parameter, when a configuration storage address in the parameter configuration rule of the parameter comprises a device identifier, determining that the configuration type corresponding to the parameter is additional configuration; when the configuration storage address in the parameter configuration rule of the parameter comprises a file identifier, determining that the configuration type corresponding to the parameter is rated configuration; when the configuration storage address in the parameter configuration rule of the parameter comprises a parameter identifier, determining that the configuration type corresponding to the parameter is special configuration.

6. The method of claim 1, wherein, After the parameter data configuration of the database to be configured according to the configuration type and the parameter configuration rule data within the configuration time, the method further includes: obtaining the to-be-verified parameter data of the database to be configured and associated data corresponding to the to-be-verified parameter data, the associated data including at least one associated parameter, an associated value corresponding to each associated parameter, and connection relationship data between each associated parameter and the to-be-verified parameter data; identifying the associated data to determine a current running scenario type; determining conflict data according to the current running scenario type, the conflict data including first data and second data; verifying whether the associated data contains conflict data according to the conflict data to obtain a verification result; generating an alarm prompt message according to the verification result.

7. The method of claim 1, wherein, The parameters to be configured include driving parameters, connection pool parameters, and server parameters.

8. A parameter configuration apparatus characterized by comprising: The apparatus includes: a database obtaining module configured to obtain a database to be configured of a target object; a type determining module configured to determine a configuration type corresponding to each parameter to be configured in the database to be configured according to a parameter configuration rule of each parameter to be configured; a time determining module configured to query a configuration time corresponding to each configuration type in the parameter configuration rule for each configuration type; a parameter configuration module configured to configure corresponding parameters in the database to be configured according to the configuration type and the parameter configuration rule within the configuration time.

9. A parameter configuring apparatus characterized by comprising: The parameter configuration device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the parameter configuration method of any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer instructions for enabling the processor to implement the parameter configuration method of any one of claims 1-7 when executed.