Parameter configuration change recording method and device, medium and program product
By setting up multiple tables in the monitoring system to record detailed information on parameter configuration changes, the problem of being unable to trace the history of parameter configuration changes in the existing technology is solved, and detailed recording and historical tracing of parameter configuration changes are achieved, thereby improving management and operation efficiency.
Patent Information
- Application Number
- CN202510794063.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-13
- Publication Date
- 2025-09-16
AI Technical Summary
In the existing technology, the recording method of parameter configuration changes only records the last modification time and the person who modified it, and cannot trace the previous modification status and modification content, resulting in the inability to accurately locate the cause of the modification. In particular, in small and medium-sized enterprises, there is a lack of effective management and control measures, resulting in configuration items being frequently modified and unable to be traced.
By setting up the configuration information table, alarm information table, configuration alarm information association table and alarm configuration change history table, the content of each parameter configuration change is recorded, including the changed configuration item identifier, changed alarm indicator identifier, changed parameter item, original parameter value, changed parameter value, changed user identifier and change time, and an alarm configuration change history table is generated to achieve tracing of the parameter configuration change history.
It achieves detailed records and historical tracing of parameter configuration changes, improves the management standardization of configuration changes, reduces the arbitrariness of configuration item modifications, provides an audit basis for configuration changes, and improves operation and maintenance efficiency.
Smart Images

Figure CN120658600A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of financial technology, and in particular to a method, device, medium and program product for recording parameter configuration changes. Background Art
[0002] As a crucial component of information system production units, changes in the monitoring system's configuration parameters can significantly impact the ability of operations and maintenance personnel or on-duty personnel to assess the system's operational status. Improper configuration parameters can prevent timely detection of system failures or generate a large number of invalid alarms despite normal system operation. Both of these situations can lead to ineffective perception of the production system's operational status, potentially missing the optimal time to address production system incidents and significantly wasting the efforts of operations and maintenance personnel or supervisory departments.
[0003] Currently, existing methods for recording parameter configuration changes typically only record the last modification time and person who made the change, without recording any previous modifications or the content of each modification. This makes it difficult to accurately locate the cause of the modification and prevents rolling back to the last modified configuration item in special circumstances. This is particularly true for small and medium-sized configuration enterprises, which lack effective management and control measures, resulting in lax review and control of configuration item modifications. Existing technologies easily lead to frequent and untraceable configuration item modifications. Summary of the Invention
[0004] The present invention provides a method, device, medium and program product for recording parameter configuration changes, which can record the content of each parameter configuration change and trace the parameter configuration change history.
[0005] According to one aspect of the present invention, a method for recording parameter configuration changes is provided, comprising:
[0006] In response to a parameter configuration change operation on the monitoring system, obtaining parameter configuration change information;
[0007] Obtaining a current configuration information table, a current alarm information table, and a current configuration alarm information association table corresponding to the parameter configuration change information, and updating the current configuration information table, the current alarm information table, and the current configuration alarm information association table according to the parameter configuration change information, to obtain a changed configuration information table, a changed alarm information table, and a changed configuration alarm information association table;
[0008] Generate an alarm configuration change history table corresponding to the parameter configuration change operation according to the parameter configuration change information.
[0009] According to another aspect of the present invention, there is provided a device for recording parameter configuration changes, comprising:
[0010] A change information acquisition module, configured to acquire parameter configuration change information in response to a parameter configuration change operation on the monitoring system;
[0011] a table updating module, configured to obtain a current configuration information table, a current alarm information table, and a current configuration alarm information association table corresponding to the parameter configuration change information, and update the contents of the current configuration information table, the current alarm information table, and the current configuration alarm information association table according to the parameter configuration change information, to obtain a changed configuration information table, a changed alarm information table, and a changed configuration alarm information association table;
[0012] The table generation module is used to generate an alarm configuration change history table corresponding to the parameter configuration change operation according to the parameter configuration change information.
[0013] According to another aspect of the present invention, an electronic device is provided, comprising:
[0014] at least one processor; and
[0015] a memory communicatively connected to the at least one processor; wherein,
[0016] 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 so that the at least one processor can execute the method for recording parameter configuration changes described in any embodiment of the present invention.
[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and the computer program is used to enable a processor to implement the method for recording parameter configuration changes according to any embodiment of the present invention when executed.
[0018] According to another aspect of the present invention, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the method for recording parameter configuration changes according to any embodiment of the present invention.
[0019] The technical solution of the embodiment of the present invention obtains parameter configuration change information in response to a parameter configuration change operation on a monitoring system; obtains a current configuration information table, a current alarm information table, and a current configuration alarm information association table corresponding to the parameter configuration change information, and updates the content of the current configuration information table, the current alarm information table, and the current configuration alarm information association table according to the parameter configuration change information to obtain a changed configuration information table, a changed alarm information table, and a changed configuration alarm information association table; generates an alarm configuration change history table corresponding to the parameter configuration change operation according to the parameter configuration change information; and records each parameter configuration change operation by setting four tables, namely, a configuration information table, an alarm information table, a configuration alarm information association table, and an alarm configuration change history table, thereby recording the content of each parameter configuration change and tracing the history of parameter configuration changes.
[0020] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 This is a flowchart of a method for recording parameter configuration changes provided in accordance with the first embodiment of the present invention;
[0023] Figure 2 This is a flowchart of a method for recording parameter configuration changes provided in accordance with the second embodiment of the present invention;
[0024] Figure 3 This is a schematic structural diagram of a device for recording parameter configuration changes according to a third embodiment of the present invention;
[0025] Figure 4 It is a structural diagram of an electronic device that implements the method for recording parameter configuration changes according to an embodiment of the present invention. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0027] It should be noted that the terms "first," "second," "altered," etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way are interchangeable where appropriate so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or that are inherent to these processes, methods, products, or apparatus.
[0028] Example 1
[0029] Figure 1 A flowchart of a method for recording parameter configuration changes is provided for the first embodiment of the present invention. This embodiment is applicable to the configuration of small and medium-sized operation and maintenance teams, and records the parameter configuration change history of the monitoring system. The method can be executed by a recording device for parameter configuration changes, which can be implemented in the form of hardware and / or software. Typically, the recording device for parameter configuration changes can be configured in an electronic device, such as a computer device or a server. Figure 1 As shown, the method includes:
[0030] S110 : In response to a parameter configuration change operation on the monitoring system, obtain parameter configuration change information.
[0031] It should be noted that the information collected 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 relevant data comply with the relevant laws, regulations and standards of relevant countries and regions, take necessary confidentiality measures, do not violate public order and good customs, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0032] A monitoring system refers to an operational unit, including hardware, software, and configuration parameters, deployed to monitor the operational status of an information system (including computing units, storage units, banking and financial applications, network services, and other information support units). Given the importance of monitoring systems, they are often also part of production systems. A parameter configuration change refers to modifying or adjusting parameters of the monitoring system, such as monitoring indicators, alarm values, alarm validity duration, alarm levels, alarm labels, alarm text descriptions, alarm methods, and monitoring data capture time.
[0033] Specifically, when a user modification or adjustment operation on a monitoring system parameter is detected, parameter configuration data related to the current operation can be collected, such as the modified parameter item, original parameter value, modified parameter value, etc., as parameter configuration change information.
[0034] Optionally, the parameter configuration change information may include the changed configuration item identifier, the changed alarm indicator identifier, the changed parameter item, the original parameter value, the changed parameter value, the changed user identifier and / or the change time. The configuration item can be the basic unit of the monitoring system alarm, for example, it can be a server, a virtual machine, etc. The alarm indicator can be the central processing unit (CPU) usage, memory usage, etc. The parameter item can be any parameter of the configuration item or alarm indicator, for example, it can be the Internet Protocol (IP) address of the virtual machine, the threshold / calculation method of the alarm indicator, etc. The user identifier can be the user name or a character string used to distinguish the user identity.
[0035] In this embodiment, by setting multi-dimensional parameter configuration change information, a complete and accurate description of the parameter configuration change operation can be achieved.
[0036] For example, typical alarm configuration information of the monitoring system can be shown in Table 1. When calculating alarm indicator information, the monitoring system matches and calculates it with each configuration item. For example, when calculating the CPU usage shown in Table 1, it is calculated according to each configuration item (including physical machines and virtual machines).
[0037] Table 1 Alarm configuration information
[0038]
[0039] In this embodiment, there are two ways to match configuration items with alarm indicators, namely, directly adding configuration item information, such as IP, node name, etc., to the alarm configuration information table, or establishing an association between alarm indicator information and configuration item information through an association table. With the direct addition method, when retrieving configuration item information, it can be completed by directly querying through a table without cross-table query; while with the association table method, the configuration information storage is more streamlined and occupies less storage space. In actual application, the number of configuration items and the architecture can be comprehensively considered. If the number of configuration items is not particularly large and the architecture uses caching and other means to speed up access, the association table method can be used. In this case, the configuration items only need to be imported into the memory once, and the disadvantages of cross-table query are offset.
[0040] S120. Obtain the current configuration information table, current alarm information table, and current configuration alarm information association table corresponding to the parameter configuration change information, and update the contents of the current configuration information table, current alarm information table, and current configuration alarm information association table according to the parameter configuration change information, and obtain the changed configuration information table, changed alarm information table, and changed configuration alarm information association table.
[0041] When recording parameter configuration changes, the existing technology adds two information items, the last modifier and the last modification time, to the alarm configuration information table, as shown in Table 2. Although this method allows you to view the last modifier and modification time, it is impossible to view the content modified by the last modifier, the modifications made by other modifiers besides the last modifier, or the entire chain of modification content information. To address the above issues, in this embodiment, four tables are designed to record each configuration parameter change operation: the configuration information table, the alarm information table, the configuration alarm information association table, and the alarm configuration change history table.
[0042] Table 2 Parameter configuration change record table of existing technology
[0043] Configuration items Configuration items Configuration items Configuration items Configuration items Configuration items Configuration items Last modified by Last modified time example example example example example example example example YYYY.MM.DD
[0044] The configuration information table is used to record configuration item information and is provided with a configuration item identifier for association with the alarm information table. The alarm information table is used to record alarm indicator parameter information and is provided with an alarm indicator identifier. The configuration alarm information association table is used to establish a relationship between the configuration information table and the alarm information table and is provided with a configuration item identifier and an alarm indicator identifier. The alarm configuration change history table is used to record the specific content of each parameter configuration change.
[0045] Secondly, in addition to the alarm configuration change history table, the other three tables are set with creation time and creator information items. Combined with the last modifier and modification information, it can effectively reduce the number of times the association table is queried for change history. In addition, an alarm level identifier is added to the configuration alarm information association table. Because each specific configuration item is used as a unit when collecting data and analyzing alarms, the design here binds the alarm level with the configuration item and the alarm content, and subsequent monitoring and early warning can be performed according to the alarm level during alarm configuration changes. Secondly, the configuration alarm information association table and the alarm configuration change history table are a one-to-many relationship, that is, the alarm configuration information can have 0 to n configuration history changes. The first creation is not counted as a configuration history change and is not stored in the alarm configuration change history table.
[0046] Specifically, first, based on the parameter configuration change information, the changed configuration item identifier and the changed alarm indicator identifier can be obtained, and based on the obtained changed configuration item identifier and changed alarm indicator identifier, the matching current configuration information table, current alarm information table and current configuration alarm information association table can be searched in the database; then, based on the content information of the parameter configuration change information, such as the original parameter value, changed parameter value, changed user identifier, change time, etc., the corresponding content of each table obtained can be updated to obtain the changed configuration information table, changed alarm information table and changed configuration alarm information association table.
[0047] Optionally, obtaining the current configuration information table, the current alarm information table, and the current configuration alarm information association table corresponding to the parameter configuration change information may include:
[0048] According to the changed configuration item identifier, a current configuration information table is obtained, and according to the changed alarm indicator identifier, a current alarm information table is obtained;
[0049] According to the changed configuration item identifier and the changed alarm indicator identifier, a current configuration alarm information association table is obtained.
[0050] For example, the configuration information table may be shown in Table 3, and a matching search may be performed based on the configuration item identifier. The alarm information table may be shown in Table 4, and a matching search may be performed based on the alarm indicator identifier. The configuration alarm information association table may be shown in Table 5, and a matching search may be performed based on both the configuration item identifier and the alarm indicator identifier.
[0051] Table 3 Configuration information table
[0052]
[0053] Table 4 Alarm information table
[0054]
[0055] Table 5 Configuration alarm information association table
[0056]
[0057] In an optional example, if it is detected that the user has modified both the configuration information and the alarm information, the changed configuration item identifier can be matched against the configuration item identifiers of each existing configuration information table to find the current configuration information table that matches the changed configuration item identifier. Simultaneously, the changed alarm indicator identifier can be matched against the alarm indicator identifiers of each existing alarm information table to find the current alarm information table that matches the changed alarm indicator identifier. Similarly, a search can be performed on the configuration alarm information association table for a matching configuration item identifier and an alarm indicator identifier to obtain the current configuration alarm information association table.
[0058] In this embodiment, by performing matching searches on the configuration information table, the alarm information table, and the configuration alarm information association table based on the changed configuration item identifier and / or the changed alarm indicator identifier, the accuracy and efficiency of table retrieval can be improved.
[0059] Optionally, updating the current configuration information table, the current alarm information table, and the current configuration alarm information association table according to the parameter configuration change information, and obtaining the changed configuration information table, the changed alarm information table, and the changed configuration alarm information association table may include:
[0060] Update the current configuration information table according to the changed user identifier and the change time to obtain a changed configuration information table;
[0061] updating the current alarm information table according to the changed parameter item, the original parameter value, the changed parameter value, the changed user identifier, and the change time, to obtain a changed alarm information table;
[0062] The current configuration alarm information association table is updated according to the changed configuration information table and the changed alarm information table to obtain the changed configuration alarm information association table.
[0063] In an optional example, if it is detected that the user has only modified the alarm information, then when updating the content of the configuration information table, it is only necessary to update the changed user ID (last modified by) and the change time (last modified time) to obtain the changed configuration information table. When updating the content of the alarm information table, it is necessary to simultaneously update the parameter values corresponding to the changed parameter items, the changed user ID, and the change time to obtain the changed alarm information table. Finally, the content changes of the changed configuration information table and the changed alarm information table can be synchronized to the current configuration alarm information association table to obtain the changed configuration alarm information association table.
[0064] It's worth noting that in real-world scenarios, users can modify only the configuration information, only the alarm information, or both. Modifying any specific information requires modifying the corresponding information table. Regardless of which information is modified, the user ID and time of the change must be modified simultaneously in the configuration information table, the alarm information table, and the configuration-alarm information association table.
[0065] In this embodiment, by updating the contents of different information tables based on different parameter configuration change information, accurate recording of parameter configuration changes can be achieved.
[0066] S130: Generate an alarm configuration change history table corresponding to the parameter configuration change operation according to the parameter configuration change information.
[0067] The alarm configuration change history refers to a record of historical changes to a configuration item, form, or other key information, and can include the content of the change, the person who made the change, the time of the change, and the reason for the change. Specifically, each information item can be obtained based on the preset format information of the alarm configuration change history table, and the corresponding information content of each information item can be extracted from the parameter configuration change information. Then, based on each information item and the corresponding information content, an alarm configuration change history table corresponding to the current parameter configuration change operation can be generated.
[0068] The technical solution of the embodiment of the present invention obtains parameter configuration change information in response to a parameter configuration change operation on a monitoring system; obtains a current configuration information table, a current alarm information table, and a current configuration alarm information association table corresponding to the parameter configuration change information, and updates the content of the current configuration information table, the current alarm information table, and the current configuration alarm information association table according to the parameter configuration change information to obtain a changed configuration information table, a changed alarm information table, and a changed configuration alarm information association table; generates an alarm configuration change history table corresponding to the parameter configuration change operation according to the parameter configuration change information; and records each parameter configuration change operation by setting four tables, namely, a configuration information table, an alarm information table, a configuration alarm information association table, and an alarm configuration change history table, thereby recording the content of each parameter configuration change and tracing the history of parameter configuration changes.
[0069] Example 2
[0070] Figure 2 This is a flow chart of a method for recording parameter configuration changes provided in the second embodiment of the present invention. This embodiment is a further refinement of the above technical solution. The technical solution in this embodiment can be combined with one or more of the above implementations. Figure 2 As shown, the method includes:
[0071] S210 : In response to a parameter configuration change operation on the monitoring system, obtain parameter configuration change information.
[0072] S220: Acquire a current configuration information table according to the changed configuration item identifier, acquire a current alarm information table according to the changed alarm indicator identifier, and acquire a current configuration alarm information association table according to the changed configuration item identifier and the changed alarm indicator identifier.
[0073] S230. Update the current configuration information table according to the changed user identifier and the change time to obtain a changed configuration information table, and update the current alarm information table according to the changed parameter item, the original parameter value, the changed parameter value, the changed user identifier and the change time to obtain a changed alarm information table.
[0074] S240: Update the current configuration alarm information association table according to the changed configuration information table and the changed alarm information table to obtain the changed configuration alarm information association table.
[0075] S250: Generate an alarm configuration change history table according to the changed configuration item identifier, the changed alarm indicator identifier, the changed parameter item, the original parameter value, the changed parameter value, the changed user identifier, and the change time.
[0076] For example, the alarm configuration change history table can be shown in Table 6, which contains all the contents involved in each parameter configuration change. Therefore, the alarm configuration change history table can be generated based on the changed configuration item identifier, changed alarm indicator identifier, changed parameter item, original parameter value, changed parameter value, changed user identifier, and change time.
[0077] Table 6 Alarm configuration change history table
[0078]
[0079] Optionally, generating an alarm configuration change history table according to the changed configuration item identifier, the changed alarm indicator identifier, the changed parameter item, the original parameter value, the changed parameter value, the changed user identifier, and the change time may include:
[0080] Generate a change batch value according to the change user identifier and the change time;
[0081] An alarm configuration change history table is generated according to the changed configuration item identifier, the changed alarm indicator identifier, the changed parameter item, the original parameter value, the changed parameter value, the changed user identifier, the change time, and the changed batch value.
[0082] In this embodiment, a change batch column can be set in the alarm configuration change history table. The starting point of this design is that when a person modifies the alarm configuration information, he may modify the alarm information of multiple configuration items or multiple indicators of a configuration item at the same time, such as modifying the memory, CPU, disk, number of connections and other indicators of a certain / a group of virtual machines, or modifying a basic alarm information table and affecting multiple configuration items at the same time. When tracing back a configuration modification operation (especially locating a certain stage or a person who may have non-compliant operations), it is more inclined to retrieve all relevant history. By adding a change batch column to the alarm configuration change history table, the change history that conforms to a certain batch can be retrieved at the same time.
[0083] In a specific example, the current change batch value can be generated according to the rule of two-digit year + two-digit month + two-digit day + four-digit modification serial number, based on the current change time, and the historical change batch value and historical change time corresponding to the changed user ID. Among them, modification operations performed by the same person on the same day with an interval of no more than 1 hour can be identified as the same batch, corresponding to one change batch value. For example, the most recent historical change batch value corresponding to the changed user ID A is XXXXXX0001, and the user has made configuration parameter changes today, and the interval exceeds 1 hour, then the current change batch value is XXXXXX0002. After obtaining the current change batch value, it can be combined with the original parameter configuration change information to jointly generate an alarm configuration change history table.
[0084] In this embodiment, by adding a change batch parameter item, batch retrieval of the parameter configuration change history can be achieved, which can improve the tracing efficiency of the parameter configuration change history.
[0085] S260 . In response to a search operation for parameter configuration changes, obtain a parameter configuration change search condition, and obtain a target configuration alarm information association table according to the parameter configuration change search condition.
[0086] It's important to note that the degree of standardized management of a monitoring system and the growth of configuration change history data are generally inversely proportional. More standardized management results in fewer configuration change histories, while more extensive management results in more configuration change history data. When a large amount of configuration change history data is generated, data query efficiency needs to be considered.
[0087] Specifically, when a user's search operation for parameter configuration change history is detected, the matching configuration alarm information association table is first searched based on the parameter configuration change search conditions, such as the changed user ID, change time, etc., to serve as the target configuration alarm information association table.
[0088] S270: Obtain the creation time and change time from the target configuration alarm information association table, and determine whether the creation time and change time are consistent.
[0089] Afterwards, you can compare the creation time and change time in the target configuration alarm information association table to see if they are consistent. If they are consistent, it means that there is no configuration history change except the first creation (the default change time for the first creation is equal to the creation time), and there is no need for further search.
[0090] S280: If it is determined that the creation time and the change time are inconsistent, obtain multiple target alarm configuration change history tables according to the target configuration alarm information association table.
[0091] Secondly, if it is determined that the creation time and the change time are inconsistent, the configuration item identifier, alarm indicator identifier, level, and other information in the target configuration alarm information association table can be used to find a matching alarm configuration change history table to serve as the target alarm configuration change history table. Alternatively, based on the preset correspondence between the configuration alarm information association table and the alarm configuration change history table, multiple target alarm configuration change history tables corresponding to the target configuration alarm information association table can be found. Among them, one configuration alarm information association table can correspond to multiple alarm configuration change history tables.
[0092] In this embodiment, when obtaining multiple target alarm configuration change history tables based on the target configuration alarm information association table, independent or joint indexes can be established based on the configuration item identifier, alarm indicator identifier, level, etc. of the target configuration alarm information association table. Sub-tables can also be created based on dimensions such as level and time to improve retrieval efficiency. If necessary, caches can be established based on level, batch, user, etc. Users can be defined as roles such as auditors. When an auditor is detected to be logged in, high-level configuration change history information can be pre-loaded. Alternatively, when a specific user is queried, relevant change information can be loaded based on batches.
[0093] This embodiment provides a new approach to the design of alarm configuration change history tracing for information system monitoring, which can achieve tracing of the monitoring system configuration change history by adding history tables, introducing batches, splitting alarm information tables, etc. By tracing the change history, on the one hand, the history of configuration item changes can be clarified and rolled back when necessary; on the other hand, it can be used as an audit basis to effectively standardize or reduce the arbitrariness of monitoring alarm configuration changes, thereby improving the production standardization of the information monitoring system.
[0094] The technical solution of the embodiment of the present invention generates an alarm configuration change history table based on the changed configuration item identifier, changed alarm indicator identifier, changed parameter item, original parameter value, changed parameter value, changed user identifier and change time. By jointly generating the alarm configuration change history table based on the parameter configuration change information, a complete record of the parameter configuration change details can be achieved, and the efficiency of tracing the parameter configuration change history can be improved; secondly, by responding to the search operation on the parameter configuration change, the parameter configuration change search condition is obtained, and according to the parameter configuration change search condition, the target configuration alarm information association table is obtained; the creation time and change time are obtained in the target configuration alarm information association table, and it is judged whether the creation time and change time are consistent; if it is determined that the creation time and change time are inconsistent, multiple target alarm configuration change history tables are obtained according to the target configuration alarm information association table; by first judging whether the creation time and change time of the configuration alarm information association table are consistent when performing the alarm configuration change history search, the search efficiency of the alarm configuration change history can be improved.
[0095] Example 3
[0096] Figure 3 This is a schematic diagram of the structure of a recording device for parameter configuration changes provided by the third embodiment of the present invention. Figure 3 As shown, the device includes: a change information acquisition module 310, a table update module 320 and a table generation module 330; wherein,
[0097] A change information acquisition module 310 is configured to acquire parameter configuration change information in response to a parameter configuration change operation on the monitoring system;
[0098] A table updating module 320 is configured to obtain a current configuration information table, a current alarm information table, and a current configuration alarm information association table corresponding to the parameter configuration change information, and update the current configuration information table, the current alarm information table, and the current configuration alarm information association table according to the parameter configuration change information to obtain a changed configuration information table, a changed alarm information table, and a changed configuration alarm information association table;
[0099] The table generation module 330 is configured to generate an alarm configuration change history table corresponding to the parameter configuration change operation according to the parameter configuration change information.
[0100] The technical solution of the embodiment of the present invention obtains parameter configuration change information in response to a parameter configuration change operation on a monitoring system; obtains a current configuration information table, a current alarm information table, and a current configuration alarm information association table corresponding to the parameter configuration change information, and updates the content of the current configuration information table, the current alarm information table, and the current configuration alarm information association table according to the parameter configuration change information to obtain a changed configuration information table, a changed alarm information table, and a changed configuration alarm information association table; generates an alarm configuration change history table corresponding to the parameter configuration change operation according to the parameter configuration change information; and records each parameter configuration change operation by setting four tables, namely, a configuration information table, an alarm information table, a configuration alarm information association table, and an alarm configuration change history table, thereby recording the content of each parameter configuration change and tracing the history of parameter configuration changes.
[0101] Optionally, the parameter configuration change information includes a changed configuration item identifier, a changed alarm indicator identifier, a changed parameter item, an original parameter value, a changed parameter value, a changed user identifier and / or a change time.
[0102] Optionally, the table updating module 320 is specifically configured to obtain a current configuration information table according to the changed configuration item identifier, and obtain a current alarm information table according to the changed alarm indicator identifier;
[0103] According to the changed configuration item identifier and the changed alarm indicator identifier, a current configuration alarm information association table is obtained.
[0104] Optionally, a table updating module 320 is specifically configured to update the current configuration information table according to the changed user identifier and the changed time, and obtain a changed configuration information table;
[0105] updating the current alarm information table according to the changed parameter item, the original parameter value, the changed parameter value, the changed user identifier, and the change time, to obtain a changed alarm information table;
[0106] The current configuration alarm information association table is updated according to the changed configuration information table and the changed alarm information table to obtain the changed configuration alarm information association table.
[0107] Optionally, the table generation module 330 is specifically configured to generate an alarm configuration change history table according to the changed configuration item identifier, the changed alarm indicator identifier, the changed parameter item, the original parameter value, the changed parameter value, the changed user identifier and the change time.
[0108] Optionally, a table generation module 330 is specifically configured to generate a change batch value according to the change user identifier and the change time;
[0109] An alarm configuration change history table is generated according to the changed configuration item identifier, the changed alarm indicator identifier, the changed parameter item, the original parameter value, the changed parameter value, the changed user identifier, the change time, and the changed batch value.
[0110] Optionally, the device for recording parameter configuration changes further includes:
[0111] A search condition acquisition module, configured to acquire a parameter configuration change search condition in response to a search operation on a parameter configuration change, and acquire a target configuration alarm information association table based on the parameter configuration change search condition;
[0112] A consistency judgment module is used to obtain the creation time and the change time in the target configuration alarm information association table, and judge whether the creation time and the change time are consistent;
[0113] The history table acquisition module is used to obtain multiple target alarm configuration change history tables according to the target configuration alarm information association table if it is determined that the creation time and the change time are inconsistent.
[0114] The device for recording parameter configuration changes provided in the embodiment of the present invention can execute the method for recording parameter configuration changes provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0115] In the technical solutions disclosed herein, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0116] Example 4
[0117] Figure 4 A schematic diagram of the structure of an electronic device 40 that can be used to implement an embodiment of the present invention is shown. The electronic device 40 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device 40 can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0118] like Figure 4As shown, the electronic device 40 includes at least one processor 41, and a memory connected to the at least one processor 41, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc., wherein the memory stores a computer program that can be executed by the at least one processor, and the processor 41 can perform various appropriate actions and processes according to the computer program stored in the read-only memory 42 or the computer program loaded from the storage unit 48 to the random access memory 43. Various programs and data required for the operation of the electronic device 40 can also be stored in the RAM 43. The processor 41, ROM 42 and RAM 43 are connected to each other via a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.
[0119] Multiple components in the electronic device 40 are connected to the I / O interface 45, including an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a magnetic disk, an optical disk, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0120] Processor 41 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of processor 41 include, but are not limited to, a central processing unit, a graphics processing unit, various specialized artificial intelligence computing chips, various processors running machine learning model algorithms, digital signal processors, and any other suitable processor, controller, microcontroller, etc. Processor 41 executes the various methods and processes described above, such as the method for recording parameter configuration changes.
[0121] In some embodiments, the method for recording parameter configuration changes can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as storage unit 48. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 40 via ROM 42 and / or communication unit 49. When the computer program is loaded into RAM 43 and executed by processor 41, one or more steps of the method for recording parameter configuration changes described above can be performed. Alternatively, in other embodiments, processor 41 can be configured to perform the method for recording parameter configuration changes by any other appropriate means (e.g., by means of firmware).
[0122] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays, application specific integrated circuits, application specific standard products, system-on-a-chip systems, on-load programmable logic devices, computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0123] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0124] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use with an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical fiber, a portable compact disk read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the foregoing.
[0125] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device 40 having: a display device (e.g., a cathode ray tube or a liquid crystal display) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or a trackball) through which the user can provide input to the electronic device 40. Other types of devices can also be used to provide interaction with the user; for example, the 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 input, voice input, or tactile input).
[0126] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, 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 local area networks, wide area networks, blockchain networks, and the Internet.
[0127] A computing system may include clients and servers. The client and server are generally remote from each other and typically interact through a communication network. The client and server relationship arises through computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server.
[0128] This embodiment may also include a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the method for recording parameter configuration changes provided by any embodiment of the present invention.
[0129] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.
[0130] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A method for recording parameter configuration changes, characterized in that: include: In response to a parameter configuration change operation on the monitoring system, obtaining parameter configuration change information; Obtaining a current configuration information table, a current alarm information table, and a current configuration alarm information association table corresponding to the parameter configuration change information, and updating the current configuration information table, the current alarm information table, and the current configuration alarm information association table according to the parameter configuration change information, to obtain a changed configuration information table, a changed alarm information table, and a changed configuration alarm information association table; Generate an alarm configuration change history table corresponding to the parameter configuration change operation according to the parameter configuration change information.
2. The method according to claim 1, characterized in that The parameter configuration change information includes the changed configuration item identifier, the changed alarm indicator identifier, the changed parameter item, the original parameter value, the changed parameter value, the changed user identifier and / or the change time.
3. The method according to claim 2, characterized in that Obtaining the current configuration information table, current alarm information table, and current configuration alarm information association table corresponding to the parameter configuration change information, including: According to the changed configuration item identifier, a current configuration information table is obtained, and according to the changed alarm indicator identifier, a current alarm information table is obtained; According to the changed configuration item identifier and the changed alarm indicator identifier, a current configuration alarm information association table is obtained.
4. The method according to claim 2, characterized in that According to the parameter configuration change information, the current configuration information table, the current alarm information table, and the current configuration alarm information association table are updated to obtain the changed configuration information table, the changed alarm information table, and the changed configuration alarm information association table, including: Update the current configuration information table according to the changed user identifier and the change time to obtain a changed configuration information table; updating the current alarm information table according to the changed parameter item, the original parameter value, the changed parameter value, the changed user identifier, and the change time, to obtain a changed alarm information table; The current configuration alarm information association table is updated according to the changed configuration information table and the changed alarm information table to obtain the changed configuration alarm information association table.
5. The method according to claim 2, characterized in that Generate an alarm configuration change history table corresponding to the parameter configuration change operation according to the parameter configuration change information, including: An alarm configuration change history table is generated according to the changed configuration item identifier, the changed alarm indicator identifier, the changed parameter item, the original parameter value, the changed parameter value, the changed user identifier and the change time.
6. The method according to claim 5, characterized in that Generate an alarm configuration change history table based on the changed configuration item identifier, the changed alarm indicator identifier, the changed parameter item, the original parameter value, the changed parameter value, the changed user identifier, and the change time, including: Generate a change batch value according to the change user identifier and the change time; An alarm configuration change history table is generated according to the changed configuration item identifier, the changed alarm indicator identifier, the changed parameter item, the original parameter value, the changed parameter value, the changed user identifier, the change time, and the changed batch value.
7. The method according to claim 1, characterized in that Also includes: In response to a search operation for parameter configuration changes, obtaining a parameter configuration change search condition, and obtaining a target configuration alarm information association table based on the parameter configuration change search condition; Obtain the creation time and the change time in the target configuration alarm information association table, and determine whether the creation time and the change time are consistent; If it is determined that the creation time and the change time are inconsistent, a plurality of target alarm configuration change history tables are obtained according to the target configuration alarm information association table.
8. An electronic device, characterized in that: The electronic device comprises: 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 so that the at least one processor can execute the method for recording parameter configuration changes according to any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and the computer program is used to enable a processor to implement the method for recording parameter configuration changes according to any one of claims 1 to 7 when the computer program is executed.
10. A computer program product, characterized in that The method comprises a computer program, which, when executed by a processor, implements the method for recording parameter configuration changes according to any one of claims 1 to 7.