CN113672267A - Parameter updating method and device - Google Patents

Parameter updating method and device Download PDF

Info

Publication number
CN113672267A
CN113672267A CN202111031429.3A CN202111031429A CN113672267A CN 113672267 A CN113672267 A CN 113672267A CN 202111031429 A CN202111031429 A CN 202111031429A CN 113672267 A CN113672267 A CN 113672267A
Authority
CN
China
Prior art keywords
parameter
configuration
configuration parameters
current
parameters
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.)
Pending
Application number
CN202111031429.3A
Other languages
Chinese (zh)
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202111031429.3A priority Critical patent/CN113672267A/en
Publication of CN113672267A publication Critical patent/CN113672267A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computational Linguistics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a parameter updating method and a parameter updating device, which can be applied to the field of big data or the field of finance, and comprises the following steps: monitoring a parameter configuration table to obtain configuration parameters; comparing the configuration parameters with current operating configuration parameters; if the configuration parameters are different from the current operation configuration parameters, updating the current configuration parameters based on the configuration parameters to obtain updated configuration parameters; and controlling the application system to operate according to the updated configuration parameters. The invention can monitor the parameter configuration table, and can update the current configuration parameter when acquiring the updatable parameter, without restarting the application to complete the parameter update, thereby improving the efficiency of the parameter update.

Description

Parameter updating method and device
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a parameter updating method and apparatus.
Background
At present, with the continuous change of service requirements of a service system, parameters of an application system are changed frequently, corresponding configuration parameters are modified each time, and corresponding applications need to be started and stopped again until the parameters take effect. Therefore, the parameters are not effective in time, and the normal work of the application system is influenced.
Disclosure of Invention
In view of the above problems, the present invention provides a parameter updating method and apparatus, which implement parameter updating without restarting applications, and improve the efficiency of parameter updating.
In order to achieve the purpose, the invention provides the following technical scheme:
a parameter updating method comprising:
monitoring a parameter configuration table to obtain configuration parameters;
comparing the configuration parameters with current operating configuration parameters;
if the configuration parameters are different from the current operation configuration parameters, updating the current configuration parameters based on the configuration parameters to obtain updated configuration parameters;
and controlling the application system to operate according to the updated configuration parameters.
Optionally, the updating the current configuration parameter based on the configuration parameter to obtain an updated configuration parameter includes:
detecting whether the current configuration parameters comprise the configuration parameters, if not, adding the configuration parameters to the current configuration parameters;
if so, modifying the current configuration parameters based on the configuration parameters to obtain updated configuration parameters.
Optionally, the monitoring a parameter configuration table to obtain a configuration parameter includes:
determining a monitoring time interval;
and inquiring the parameter configuration table according to the monitoring time interval to obtain configuration parameters.
Optionally, the method further comprises:
creating a parameter configuration table comprising:
determining a parameter configuration field;
acquiring corresponding parameter information according to the parameter configuration field;
and storing the parameter information in a target database to obtain a parameter configuration table.
Optionally, the method further comprises:
responding to the starting of an application system, and determining a monitoring process which is independent from a data processing process of the application system;
and monitoring a parameter configuration table by utilizing the monitoring process.
A parameter updating apparatus comprising:
the monitoring unit is used for monitoring the parameter configuration table to obtain configuration parameters;
the comparison unit is used for comparing the configuration parameters with the current operation configuration parameters;
an updating unit, configured to update the current configuration parameter based on the configuration parameter if the configuration parameter is different from the current operating configuration parameter, so as to obtain an updated configuration parameter;
and the control unit is used for controlling the application system to operate according to the updated configuration parameters.
Optionally, the updating unit includes:
the adding subunit is configured to detect whether the current configuration parameter includes the configuration parameter, and if not, add the configuration parameter to the current configuration parameter;
and the modification subunit is used for modifying the current configuration parameter based on the configuration parameter if the current configuration parameter is the configuration parameter, so as to obtain the updated configuration parameter.
Optionally, the monitoring unit comprises:
a first determining subunit, configured to determine a monitoring time interval;
and the query subunit is used for querying the parameter configuration table according to the monitoring time interval to obtain the configuration parameters.
Optionally, the apparatus further comprises:
a creating unit configured to create a parameter configuration table, the creating unit including:
a second determining subunit, configured to determine a parameter configuration field;
the acquisition subunit is used for acquiring corresponding parameter information according to the parameter configuration field;
and the storage subunit is used for storing the parameter information in a target database to obtain a parameter configuration table.
Optionally, the apparatus further comprises:
the device comprises a determining unit, a monitoring unit and a processing unit, wherein the determining unit is used for responding to the starting of an application system and determining a monitoring process which is independent from a data processing process of the application system;
the monitoring unit is further configured to monitor a parameter configuration table by using the monitoring process.
Compared with the prior art, the invention provides a parameter updating method and device, comprising the following steps: monitoring a parameter configuration table to obtain configuration parameters; comparing the configuration parameters with current operating configuration parameters; if the configuration parameters are different from the current operation configuration parameters, updating the current configuration parameters based on the configuration parameters to obtain updated configuration parameters; and controlling the application system to operate according to the updated configuration parameters. The invention can monitor the parameter configuration table, and can update the current configuration parameter when acquiring the updatable parameter, without restarting the application to complete the parameter update, thereby improving the efficiency of the parameter update.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flow chart of a parameter updating method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for validating application parameters according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a parameter updating apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first" and "second," and the like in the description and claims of the present invention and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not set forth for a listed step or element but may include steps or elements not listed.
In an embodiment of the present invention, a parameter updating method is provided, and referring to fig. 1, a flow diagram of the parameter updating method provided in the embodiment of the present invention is shown, where the method may include the following steps:
s101, monitoring a parameter configuration table to obtain configuration parameters.
In the embodiment of the invention, the application configuration parameters corresponding to each application system are stored in the parameter configuration table in the database, and the parameter configuration table is loaded to the memory when the application system is started. And when the application runs, directly acquiring parameters from the memory. The configuration table includes parameter names, parameter values, and parameter states (e.g., activated, deactivated, etc.).
The application system may be an application system in any field, for example, in the field of big data processing, because the types and the number of the processed data are huge, the updating speed of the configuration parameters corresponding to the application system is fast, and if the processing of the application system is stopped every time of updating, the processing process is inefficient and is prone to be interrupted. Correspondingly, the application system can also be a business processing system in the financial field and the like.
The configuration parameters obtained based on the parameter configuration table are configuration parameters related to the current application system, and the current application system may be further analyzed to obtain configuration parameters corresponding to the currently processed service data or the current processing period. The service data processed by the application system at different time are different, and the corresponding configuration parameters to be configured or called are different, so that only the parameters having the association relation with the service data can be acquired when the parameter configuration table is monitored according to the service data processing conditions corresponding to the application system or the corresponding processing time period. If the application system needs to generate a data display interface at 14:00 every day, the data display interface is displayed on a corresponding display screen and is known by workers. Therefore, only the configuration parameters related to the display parameters and the data transmission parameters corresponding to the generated display interface can be acquired in the time period, and the problem of occupation of processing resources caused by acquisition of all the parameters can be avoided.
And S102, comparing the configuration parameters with the current operation configuration parameters.
S103, if the configuration parameters are different from the current operation configuration parameters, updating the current configuration parameters based on the configuration parameters to obtain the updated configuration parameters.
Comparing the configuration parameters obtained by monitoring the parameter configuration table with the configuration parameters currently applied by the application system, if the configuration parameters are different from the configuration parameters, updating the current configuration parameters, mainly comparing version information, parameter values, parameter states and the like of the configuration parameters, and if the version number of the current configuration parameters is identified to be lower than the version number in the parameter configuration table through comparison, proving that the configuration parameters in the parameter configuration table are the latest version parameters, and replacing the current configuration parameters corresponding to the configuration parameters with the configuration parameters to update the configuration parameters. And if the two parameters are identified to be different in state, updating the latest parameter in the state to be used as the configuration parameter of the current application system.
And S104, controlling the application system to operate according to the updated configuration parameters.
After the current configuration parameters of the application system are updated based on the parameter configuration table, the application system is operated according to the updated configuration parameters, for example, the corresponding processes such as data processing or information configuration are completed.
The embodiment of the invention provides a parameter updating method, which comprises the following steps: monitoring a parameter configuration table to obtain configuration parameters; comparing the configuration parameters with current operating configuration parameters; if the configuration parameters are different from the current operation configuration parameters, updating the current configuration parameters based on the configuration parameters to obtain updated configuration parameters; and controlling the application system to operate according to the updated configuration parameters. The embodiment of the invention can monitor the parameter configuration table, and can update the current configuration parameter when the updatable parameter is obtained, without restarting the application to complete parameter updating, thereby improving the efficiency of parameter updating.
It should be noted that the parameter updating method provided by the present invention can be applied to the field of big data processing or the financial field. The above is merely an example, and does not limit the application field of the parameter updating method provided by the present invention.
In the embodiment of the present invention, the process of updating the current configuration parameters in the application system includes addition, modification and deletion of parameters. In an embodiment, the updating the current configuration parameter based on the configuration parameter to obtain an updated configuration parameter includes:
detecting whether the current configuration parameters comprise the configuration parameters, if not, adding the configuration parameters to the current configuration parameters;
if so, modifying the current configuration parameters based on the configuration parameters to obtain updated configuration parameters.
In this embodiment, the configuration parameters obtained by monitoring are compared with the current configuration parameters of the application system, and if some or a certain parameter is not included in the current configuration parameters of the application system, the corresponding parameter is added to the current configuration parameters, so as to ensure that the application system can realize a better processing procedure with the newly added parameter, and or an extended function of the application system can be added based on the added parameter.
If the configuration parameters obtained through monitoring of the parameter configuration table are consistent with the parameter names of the current configuration parameters in the application system, further comparison is needed to determine whether the parameter values and the parameter states of the configuration parameters are the same, and if the parameter values and the parameter states are different, the current running configuration parameters are modified according to the configuration parameters obtained through query, and the configuration parameters are reloaded.
Correspondingly, if the state of some configuration parameters is identified to be changed from enabled to disabled through the parameter configuration table, the state of the current configuration parameters in the application system is also synchronously modified, and if the state is disabled, the corresponding parameters can be deleted in the application system.
The processing mode can ensure that the configuration parameters in the application system are matched with the configuration parameters in the parameter configuration table, so that the application processing efficiency of the application system is higher and more accurate.
In order to make resources efficiently and reasonably applied, the parameter configuration table may be monitored according to target conditions, for example, the parameter configuration table is monitored after the application system is started, the parameter configuration table may be monitored after a service data packet processed by the application system is changed, or the parameter configuration table may be monitored after the application system is interrupted and restarted due to reasons such as a network. Or the parameter configuration table may be detected at predetermined time intervals in order to ensure timely update of the configuration parameters.
In one implementation, the monitoring a parameter configuration table to obtain a configuration parameter includes: determining a monitoring time interval; and inquiring the parameter configuration table according to the monitoring time interval to obtain configuration parameters.
The monitoring time interval may be determined based on actual requirements of the corresponding application system, or may be determined according to write update time of the parameter configuration table, for example, after the parameter configuration table updates the parameter each time, the parameter configuration table is queried. For example, the time interval is set to a fixed time, such as one minute. The parameter configuration table may be queried every minute to obtain the configuration parameters.
The embodiment of the invention also provides a method for creating a parameter configuration table, which comprises the following steps:
determining a parameter configuration field;
acquiring corresponding parameter information according to the parameter configuration field;
and storing the parameter information in a target database to obtain a parameter configuration table.
In the embodiment of the invention, the application configuration parameters are stored in the parameter table in the database, the application is loaded to the memory when being started, and the parameters are directly obtained from the memory when the application runs. The parameter configuration table includes fields for parameter name, parameter value, parameter status (e.g., enabled, disabled, etc.), and the like. The corresponding parameter configuration personnel can write information into the parameter configuration table in the database without directly modifying and writing parameters in the application system, so that the parameter configuration process can be completed only by writing and modifying the parameters in the database, and the normal operation of the application system is not influenced.
In some embodiments, the parameter configuration table may be monitored by a corresponding listening process. Specifically, a monitoring process is determined in response to the starting of an application system, and the monitoring process is independent of a data processing process of the application system; and monitoring a parameter configuration table by utilizing the monitoring process.
In this embodiment, a separate monitoring process may be used to monitor the parameter configuration table, so as to obtain the relevant configuration parameters in the parameter configuration table, it should be noted that the monitoring process is only responsible for monitoring the parameter configuration table, and does not participate in the data processing process of the application system, so that the monitoring process does not affect the normal operation of the application system.
Referring to fig. 2, a schematic flow chart of a method for validating application parameters according to an embodiment of the present invention is provided, where the method includes:
s201, starting application service;
s202, checking database connection;
s203, detecting whether the connection is normal, if so, executing S204, and if not, finishing;
s204, starting a configuration monitoring process;
s205, loading configuration parameters;
and S206, completing application starting.
Specifically, the application configuration parameters are stored in a parameter table in the database and loaded to the memory when the application is started. And when the application runs, directly acquiring parameters from the memory.
The configuration table comprises parameter names, parameter values and parameter states (starting and stopping), when the application service process is started, a monitoring thread is started, and the monitoring thread inquires the configuration table once every one minute. And the monitoring thread compares the searched configuration parameter information with the current operation configuration parameter. If the inquired configuration parameters are not in the current operation configuration parameters, the thread is monitored, the configuration parameters are loaded into the current configuration parameters, and if the inquired configuration parameters are inconsistent with the current operation configuration parameters, the current operation configuration parameters are modified and reloaded according to the inquired configuration parameters.
In the embodiment of the invention, the application parameter modification takes effect in real time, the parameter modification is not limited to a specific application window any more, but the modification of the corresponding parameter in the application system can be realized by modifying the parameter in the parameter configuration table in the database. The aim of completing parameter validation and change is fulfilled under the condition of not starting and stopping the application service.
Based on the foregoing embodiments, there is also provided a parameter updating apparatus in an embodiment of the present invention, referring to fig. 3, including:
a monitoring unit 301, configured to monitor a parameter configuration table to obtain configuration parameters;
a comparison unit 302, configured to compare the configuration parameters with current operating configuration parameters;
an updating unit 303, configured to update the current configuration parameter based on the configuration parameter if the configuration parameter is different from the current operating configuration parameter, to obtain an updated configuration parameter;
a control unit 304, configured to control the application system to operate according to the updated configuration parameters.
An embodiment of the present invention provides a parameter updating apparatus, including: the monitoring unit monitors the parameter configuration table to obtain configuration parameters; the comparison unit compares the configuration parameters with the current operation configuration parameters; the updating unit is used for updating the current configuration parameter based on the configuration parameter if the configuration parameter is different from the current operation configuration parameter to obtain an updated configuration parameter; and the control unit controls the application system to operate according to the updated configuration parameters. The invention can monitor the parameter configuration table, and can update the current configuration parameter when acquiring the updatable parameter, without restarting the application to complete the parameter update, thereby improving the efficiency of the parameter update.
Further, the update unit includes:
the adding subunit is configured to detect whether the current configuration parameter includes the configuration parameter, and if not, add the configuration parameter to the current configuration parameter;
and the modification subunit is used for modifying the current configuration parameter based on the configuration parameter if the current configuration parameter is the configuration parameter, so as to obtain the updated configuration parameter.
Optionally, the monitoring unit comprises:
a first determining subunit, configured to determine a monitoring time interval;
and the query subunit is used for querying the parameter configuration table according to the monitoring time interval to obtain the configuration parameters.
Further, the apparatus further comprises:
a creating unit configured to create a parameter configuration table, the creating unit including:
a second determining subunit, configured to determine a parameter configuration field;
the acquisition subunit is used for acquiring corresponding parameter information according to the parameter configuration field;
and the storage subunit is used for storing the parameter information in a target database to obtain a parameter configuration table.
Optionally, the apparatus further comprises:
the device comprises a determining unit, a monitoring unit and a processing unit, wherein the determining unit is used for responding to the starting of an application system and determining a monitoring process which is independent from a data processing process of the application system;
the monitoring unit is further configured to monitor a parameter configuration table by using the monitoring process.
Based on the foregoing embodiments, an embodiment of the present invention provides a computer-readable storage medium, where one or more programs are stored, and the one or more programs are executable by one or more processors to implement the steps of the parameter updating method according to any of the above embodiments, and in particular, to implement:
monitoring a parameter configuration table to obtain configuration parameters;
comparing the configuration parameters with current operating configuration parameters;
if the configuration parameters are different from the current operation configuration parameters, updating the current configuration parameters based on the configuration parameters to obtain updated configuration parameters;
and controlling the application system to operate according to the updated configuration parameters.
Optionally, the updating the current configuration parameter based on the configuration parameter to obtain an updated configuration parameter includes:
detecting whether the current configuration parameters comprise the configuration parameters, if not, adding the configuration parameters to the current configuration parameters;
if so, modifying the current configuration parameters based on the configuration parameters to obtain updated configuration parameters.
Optionally, the monitoring a parameter configuration table to obtain a configuration parameter includes:
determining a monitoring time interval;
and inquiring the parameter configuration table according to the monitoring time interval to obtain configuration parameters.
Optionally, the method further comprises:
creating a parameter configuration table comprising:
determining a parameter configuration field;
acquiring corresponding parameter information according to the parameter configuration field;
and storing the parameter information in a target database to obtain a parameter configuration table.
Optionally, the method further comprises:
responding to the starting of an application system, and determining a monitoring process which is independent from a data processing process of the application system;
and monitoring a parameter configuration table by utilizing the monitoring process.
An embodiment of the present invention further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements, when executing the program:
monitoring a parameter configuration table to obtain configuration parameters;
comparing the configuration parameters with current operating configuration parameters;
if the configuration parameters are different from the current operation configuration parameters, updating the current configuration parameters based on the configuration parameters to obtain updated configuration parameters;
and controlling the application system to operate according to the updated configuration parameters.
Optionally, the updating the current configuration parameter based on the configuration parameter to obtain an updated configuration parameter includes:
detecting whether the current configuration parameters comprise the configuration parameters, if not, adding the configuration parameters to the current configuration parameters;
if so, modifying the current configuration parameters based on the configuration parameters to obtain updated configuration parameters.
Optionally, the monitoring a parameter configuration table to obtain a configuration parameter includes:
determining a monitoring time interval;
and inquiring the parameter configuration table according to the monitoring time interval to obtain configuration parameters.
Optionally, the method further comprises:
creating a parameter configuration table comprising:
determining a parameter configuration field;
acquiring corresponding parameter information according to the parameter configuration field;
and storing the parameter information in a target database to obtain a parameter configuration table.
Optionally, the method further comprises:
responding to the starting of an application system, and determining a monitoring process which is independent from a data processing process of the application system;
and monitoring a parameter configuration table by utilizing the monitoring process.
In the computer storage medium and the electronic device provided in the embodiments of the present invention, a process executed by a processor mainly includes: monitoring a parameter configuration table to obtain configuration parameters; comparing the configuration parameters with current operating configuration parameters; if the configuration parameters are different from the current operation configuration parameters, updating the current configuration parameters based on the configuration parameters to obtain updated configuration parameters; and controlling the application system to operate according to the updated configuration parameters. The invention can monitor the parameter configuration table, and can update the current configuration parameter when acquiring the updatable parameter, without restarting the application to complete the parameter update, thereby improving the efficiency of the parameter update.
The Processor or the CPU may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It is understood that the electronic device implementing the above-mentioned processor function may be other electronic devices, and the embodiments of the present application are not particularly limited.
The computer storage medium/Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); but may also be various terminals such as mobile phones, computers, tablet devices, personal digital assistants, etc., that include one or any combination of the above-mentioned memories.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit. Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media capable of storing program codes, such as a removable Memory device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, and an optical disk.
The methods disclosed in the several method embodiments provided by the present invention can be combined arbitrarily without conflict to obtain new method embodiments.
Features disclosed in several of the product embodiments provided by the invention may be combined in any combination to yield new product embodiments without conflict.
The features disclosed in the several method or apparatus embodiments provided by the present invention may be combined arbitrarily, without conflict, to arrive at new method embodiments or apparatus embodiments.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A parameter updating method, comprising:
monitoring a parameter configuration table to obtain configuration parameters;
comparing the configuration parameters with current operating configuration parameters;
if the configuration parameters are different from the current operation configuration parameters, updating the current configuration parameters based on the configuration parameters to obtain updated configuration parameters;
and controlling the application system to operate according to the updated configuration parameters.
2. The method of claim 1, wherein the updating the current configuration parameter based on the configuration parameter to obtain an updated configuration parameter comprises:
detecting whether the current configuration parameters comprise the configuration parameters, if not, adding the configuration parameters to the current configuration parameters;
if so, modifying the current configuration parameters based on the configuration parameters to obtain updated configuration parameters.
3. The method of claim 1, wherein monitoring the parameter configuration table to obtain configuration parameters comprises:
determining a monitoring time interval;
and inquiring the parameter configuration table according to the monitoring time interval to obtain configuration parameters.
4. The method of claim 1, further comprising:
creating a parameter configuration table comprising:
determining a parameter configuration field;
acquiring corresponding parameter information according to the parameter configuration field;
and storing the parameter information in a target database to obtain a parameter configuration table.
5. The method of claim 4, further comprising:
responding to the starting of an application system, and determining a monitoring process which is independent from a data processing process of the application system;
and monitoring a parameter configuration table by utilizing the monitoring process.
6. A parameter updating apparatus, comprising:
the monitoring unit is used for monitoring the parameter configuration table to obtain configuration parameters;
the comparison unit is used for comparing the configuration parameters with the current operation configuration parameters;
an updating unit, configured to update the current configuration parameter based on the configuration parameter if the configuration parameter is different from the current operating configuration parameter, so as to obtain an updated configuration parameter;
and the control unit is used for controlling the application system to operate according to the updated configuration parameters.
7. The apparatus of claim 6, wherein the updating unit comprises:
the adding subunit is configured to detect whether the current configuration parameter includes the configuration parameter, and if not, add the configuration parameter to the current configuration parameter;
and the modification subunit is used for modifying the current configuration parameter based on the configuration parameter if the current configuration parameter is the configuration parameter, so as to obtain the updated configuration parameter.
8. The apparatus of claim 6, wherein the monitoring unit comprises:
a first determining subunit, configured to determine a monitoring time interval;
and the query subunit is used for querying the parameter configuration table according to the monitoring time interval to obtain the configuration parameters.
9. The apparatus of claim 6, further comprising:
a creating unit configured to create a parameter configuration table, the creating unit including:
a second determining subunit, configured to determine a parameter configuration field;
the acquisition subunit is used for acquiring corresponding parameter information according to the parameter configuration field;
and the storage subunit is used for storing the parameter information in a target database to obtain a parameter configuration table.
10. The apparatus of claim 6, further comprising:
the device comprises a determining unit, a monitoring unit and a processing unit, wherein the determining unit is used for responding to the starting of an application system and determining a monitoring process which is independent from a data processing process of the application system;
the monitoring unit is further configured to monitor a parameter configuration table by using the monitoring process.
CN202111031429.3A 2021-09-03 2021-09-03 Parameter updating method and device Pending CN113672267A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111031429.3A CN113672267A (en) 2021-09-03 2021-09-03 Parameter updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111031429.3A CN113672267A (en) 2021-09-03 2021-09-03 Parameter updating method and device

Publications (1)

Publication Number Publication Date
CN113672267A true CN113672267A (en) 2021-11-19

Family

ID=78548203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111031429.3A Pending CN113672267A (en) 2021-09-03 2021-09-03 Parameter updating method and device

Country Status (1)

Country Link
CN (1) CN113672267A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116069676A (en) * 2023-04-07 2023-05-05 中国空气动力研究与发展中心计算空气动力研究所 Version comparison method, device, terminal equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107302450A (en) * 2017-06-13 2017-10-27 国网冀北电力有限公司信息通信分公司 A kind of data acquisition session variation and device
CN107426013A (en) * 2017-05-27 2017-12-01 重庆交通开投科技发展有限公司 Facility information monitoring method, apparatus and system
WO2018014687A1 (en) * 2016-07-18 2018-01-25 深圳市中兴微电子技术有限公司 Parameter passing method and apparatus, and computer storage medium
CN111966465A (en) * 2020-08-21 2020-11-20 苏州浪潮智能科技有限公司 Method, system, equipment and medium for modifying configuration parameters of host machine in real time
CN112083971A (en) * 2020-09-15 2020-12-15 北京凌云雀科技有限公司 Component processing method, device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018014687A1 (en) * 2016-07-18 2018-01-25 深圳市中兴微电子技术有限公司 Parameter passing method and apparatus, and computer storage medium
CN107426013A (en) * 2017-05-27 2017-12-01 重庆交通开投科技发展有限公司 Facility information monitoring method, apparatus and system
CN107302450A (en) * 2017-06-13 2017-10-27 国网冀北电力有限公司信息通信分公司 A kind of data acquisition session variation and device
CN111966465A (en) * 2020-08-21 2020-11-20 苏州浪潮智能科技有限公司 Method, system, equipment and medium for modifying configuration parameters of host machine in real time
CN112083971A (en) * 2020-09-15 2020-12-15 北京凌云雀科技有限公司 Component processing method, device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116069676A (en) * 2023-04-07 2023-05-05 中国空气动力研究与发展中心计算空气动力研究所 Version comparison method, device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108388599B (en) Electronic device, data migration and calling method and storage medium
US10268515B2 (en) Releasing resources from processes in a particular order to provide required resources to start an application
CN109388671B (en) Data processing method, device, equipment and storage medium
CN111158968A (en) BIOS configuration information self-checking method, device and storage medium
CN111367584B (en) Power supply adaptation method and device and computer readable storage medium
CN113672263B (en) Firmware parameter updating control method and device and electronic equipment
CN113672267A (en) Parameter updating method and device
CN114780019A (en) Electronic device management method and device, electronic device and storage medium
WO2022021850A1 (en) Service instance deployment method and apparatus, electronic device, and storage medium
CN113411225A (en) QGA service management method, device, equipment and medium based on cloud host
CN110417601B (en) Information prompting method, device and system in client and readable storage medium
CN109491771B (en) Task processing method based on system performance optimization and related equipment
CN109032641B (en) Application version updating method and device
CN108595292B (en) System optimization method, mobile terminal and computer storage medium
CN111078418A (en) Operation synchronization method and device, electronic equipment and computer readable storage medium
CN115309421A (en) Static variable synchronization method, device, equipment and storage medium of single-point system
CN115004667B (en) Information pushing method, device, electronic equipment and computer readable medium
CN110442387B (en) Parameter self-adaption method and device of vehicle-mounted system and vehicle
CN110740382B (en) Method, device, television and medium for avoiding undesired automatic restart of television
CN114579388A (en) Vehicle-mounted system state monitoring method and system, storage medium and electronic equipment
CN111124459B (en) Method and device for updating service logic of FPGA cloud server
CN112947991A (en) Method and device for acquiring version difference code file, computer equipment and medium
CN112559131A (en) Method, device and equipment for updating container mirror image and computer readable storage medium
CN112000354A (en) Version information updating method, version information updating device, version information updating equipment and storage medium
CN115080151B (en) APP starting flow control method, computer readable storage medium and terminal

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