A method, system, device and medium for reporting information changes
By dividing multiple levels in massive data clusters, monitoring resource configuration information changes and determining the minimum reporting level, the high workload and inefficiency problems caused by changes in cluster resource configuration information are solved, and efficient utilization of resources is achieved.
Patent Information
- Application Number
- CN202110655110.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-11
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2041-06-11
AI Technical Summary
In massive data clusters, changes in resource configuration information lead to full statistics and reporting, increasing workload, affecting efficiency, and possibly resulting in waste of system resources.
By dividing the objects in the cluster into multiple levels according to the scope from large to small, monitoring whether there is any change in resource configuration information at each level, determining the minimized reporting level based on the scope of the change's impact, and minimizing configuration information collection and reporting.
It greatly reduces the workload of cluster configuration information statistics, improves statistical efficiency, avoids waste of system resources, and makes full use of system resources.
Smart Images

Figure CN113568918B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of distributed storage systems, and more specifically, to a method, system, computer device and readable medium for reporting information changes. Background Art
[0002] In the context of massive data, clusters are becoming increasingly complex and their scale is growing. In order to maintain cluster resource information, statistics and reports are required when cluster resource configuration information changes. Usually, a cluster will create a certain number of storage pools, each storage pool will create multiple logical volumes, and each logical volume will create multiple snapshots. When the cluster's own resource configuration information (such as cluster name, cluster capacity, etc.) changes, the storage pool resource configuration information (such as the number of storage pools, storage pool size, etc.) changes, the logical volume resource configuration information (such as the number of logical volumes, logical volume size, etc.) changes, and the snapshot resource configuration information (snapshot number, snapshot name, etc.) changes, the cluster resource configuration information will be triggered to change. Currently, when cluster resource configuration information is reported, the configuration information of all cluster objects will be counted, which not only increases the workload of statistics and affects the efficiency of statistics, but also brings troubles to the data processing after reporting. Summary of the invention
[0003] In view of this, the purpose of the embodiments of the present invention is to propose a method, system, computer device and computer-readable storage medium for reporting information changes. The present invention determines the minimum scope of the impact of the resource configuration information change, determines the minimized reporting level according to the minimum scope, and performs minimized configuration information collection according to the minimized reporting level, thereby greatly reducing the workload of cluster configuration information statistics, improving the efficiency of cluster configuration information statistics, avoiding the waste of system resources due to statistics of object information that has not changed, thereby making full use of system resources and bringing convenience to the subsequent configuration data persistence work.
[0004] Based on the above-mentioned purpose, one aspect of an embodiment of the present invention provides a method for reporting information changes, including the following steps: dividing objects in a cluster into multiple levels according to their scope from large to small, monitoring each of the levels and determining whether there is a change in resource configuration information generated by the level; in response to the existence of a change in resource configuration information generated by the level, determining an impact scope according to the change in the resource configuration information, and determining a minimized set of levels to be reported according to the impact scope; determining dictionary data to be reported according to the minimized set of levels, and reporting the configuration information of the minimized set of levels based on the dictionary data; and parsing the reported configuration information, and persisting the parsed configuration information in a database.
[0005] In some embodiments, determining the impact scope based on the change of the resource configuration information includes: determining the level directly affected by the change of the resource configuration information, and determining whether the level above the level is affected by the change of the resource configuration information; and in response to the level above the level not being affected by the change of the resource configuration information, determining the impact scope to be the level.
[0006] In some implementations, determining the impact scope based on the change in the resource configuration information includes: in response to an upper level of the level being affected by the change in the resource configuration information, determining the impact scope to be the level and the upper level.
[0007] In some implementations, determining whether the previous level of the level is affected by the change in the resource configuration information includes determining whether other attributes of the resource configuration information of the previous level other than the resource configuration information of the level are affected by the change.
[0008] In some implementations, determining the reported dictionary data according to the minimized set of levels includes: acquiring dictionary data consisting of configuration information of the minimized set of levels, and identifying the dictionary data according to complexity.
[0009] In some implementations, parsing the reported configuration information includes: determining a dictionary mode for parsing the dictionary data according to the identifier.
[0010] In some embodiments, monitoring each of the levels and determining whether there is a change in resource configuration information generated by the level includes: backing up the latest resource configuration information at a first interval; and in response to the backup being completed, determining whether there is a difference between the current resource configuration information and the latest backed-up resource configuration information at a second interval.
[0011] Another aspect of an embodiment of the present invention provides a system for reporting information changes, including: a division module, configured to divide objects in a cluster into multiple levels according to scope from large to small, monitor each of the levels and determine whether there is a change in resource configuration information generated by the level; a reporting module, configured to respond to the existence of a change in resource configuration information generated by the level, determine the scope of influence according to the change in the resource configuration information, and determine a minimized set of levels to be reported according to the scope of influence; a structure module, configured to determine dictionary data to be reported according to the minimized set of levels, and report the configuration information of the minimized set of levels based on the dictionary data; and a storage module, configured to parse the reported configuration information and persist the parsed configuration information in a database.
[0012] According to another aspect of an embodiment of the present invention, a computer device is provided, comprising: at least one processor; and a memory, wherein the memory stores computer instructions executable on the processor, and the instructions implement the steps of the above method when executed by the processor.
[0013] According to another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, which stores a computer program that implements the above method steps when executed by a processor.
[0014] The present invention has the following beneficial technical effects: by determining the minimum scope of the impact of resource configuration information changes, determining the minimized reporting level based on the minimum scope, and performing minimized configuration information collection work based on the minimized reporting level, the workload of cluster configuration information statistics is greatly reduced, the efficiency of cluster configuration information statistics is improved, and the waste of system resources due to statistics of object information that has not changed is avoided, thereby fully utilizing system resources and bringing convenience to subsequent configuration data persistence work. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can be obtained based on these drawings without paying creative work.
[0016] Figure 1 A schematic diagram of an embodiment of a method for reporting information changes provided by the present invention;
[0017] Figure 2 A schematic diagram of the hardware structure of an embodiment of a computer device for reporting information changes provided by the present invention;
[0018] Figure 3 A schematic diagram of an embodiment of a computer storage medium for reporting information changes provided by the present invention. DETAILED DESCRIPTION
[0019] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the embodiments of the present invention are further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0020] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are for distinguishing two non-identical entities with the same name or non-identical parameters. It can be seen that "first" and "second" are only for the convenience of expression and should not be understood as limitations on the embodiments of the present invention. The subsequent embodiments will not explain this one by one.
[0021] A first aspect of an embodiment of the present invention provides an embodiment of a method for reporting information changes. Figure 1 Shown is a schematic diagram of an embodiment of a method for reporting information changes provided by the present invention.
[0022] like Figure 1 As shown, the embodiment of the present invention includes the following steps:
[0023] S1. Divide the objects in the cluster into multiple levels according to their scope from large to small, monitor each level and determine whether there is a change in resource configuration information generated by the level;
[0024] S2. In response to a change in resource configuration information generated by a hierarchy, determining an impact scope according to the change in resource configuration information, and determining a minimized set of hierarchies to be reported according to the impact scope;
[0025] S3. Determine dictionary data to be reported according to the minimized set of levels, and report configuration information of the minimized set of levels based on the dictionary data; and
[0026] S4. Parse the reported configuration information, and persist the parsed configuration information in a database.
[0027] The objects in the cluster are divided into multiple levels according to their scope from large to small, and each level is monitored to determine whether there is a change in resource configuration information generated by the level. In the embodiment of the present invention, the objects in the cluster are divided into four levels according to their scope from large to small: cluster, storage pool, logical volume, and logical volume snapshot. The cluster contains multiple storage pools, the storage pool contains multiple logical volumes, and the logical volume contains multiple logical volume snapshots. These four objects are in a layer-by-layer relationship, and the configuration information of the next level can be regarded as an attribute of the object of the previous level. For the convenience of description, the level corresponding to the logical volume snapshot is called the lowest level, and the level corresponding to the logical volume is the upper level of the logical volume snapshot.
[0028] In some embodiments, the monitoring of each of the layers and determining whether there is a change in resource configuration information generated by the layer includes: backing up the latest resource configuration information at a first time interval; and in response to the completion of the backup, determining whether there is a difference between the current resource configuration information and the latest backed-up resource configuration information at a second time interval. The second time is less than the first time, and both the first time and the second time can be adaptively set according to specific circumstances. For example, the first time is 1 minute and the second time is 5 seconds, then the latest resource configuration information is backed up every 1 minute. In order to reduce the occupancy of storage space, the previous backup can be deleted after the backup is completed. After the backup is completed, the current resource configuration information is compared with the latest backed-up resource configuration information every 5 seconds. If there is a difference, it means that the resource configuration information has changed.
[0029] In response to a change in the resource configuration information generated by the existence of a hierarchy, an impact scope is determined according to the change in the resource configuration information, and a minimized hierarchy set to be reported is determined according to the impact scope.
[0030] In some embodiments, determining the impact scope based on the change of the resource configuration information includes: determining the level directly affected by the change of the resource configuration information, and determining whether the level above the level is affected by the change of the resource configuration information; and in response to the level above the level not being affected by the change of the resource configuration information, determining the impact scope to be the level.
[0031] In some implementations, determining the impact scope based on the change in the resource configuration information includes: in response to an upper level of the level being affected by the change in the resource configuration information, determining the impact scope to be the level and the upper level.
[0032] In some implementations, determining whether the previous level of the level is affected by the change in the resource configuration information includes determining whether other attributes of the resource configuration information of the previous level other than the resource configuration information of the level are affected by the change.
[0033] Determine the level that is directly affected by the user's operation of modifying resource configuration information. If the operation only affects this level and has no effect on other properties of the previous level, then the minimized set of objects affected by this operation only includes objects of this level but not objects of the previous level. If the user's operation of modifying resource configuration information also affects other properties of the level above the level that is directly affected, then the minimized set of objects affected by this operation includes not only objects of this level but also objects of the previous level. According to the above principles, the minimized set of objects affected by each operation that modifies resource configuration information is obtained and used as the standard for reporting cluster configuration information for user operations; finally, various operations of the user on the cluster are monitored in real time. For operations that affect changes in cluster configuration information, the minimized set of objects to be reported by the operation is obtained from the standard for reporting cluster configuration information for user operations.
[0034] The reported dictionary data is determined according to the minimized set of levels, and the configuration information of the minimized set of levels is reported based on the dictionary data.
[0035] In some implementations, determining the reported dictionary data according to the minimized set of levels includes: acquiring dictionary data consisting of configuration information of the minimized set of levels, and identifying the dictionary data according to complexity.
[0036] A full set of cluster configuration information is a dictionary with a complex structure. The value corresponding to the key of the dictionary may be a dictionary consisting of the resource configuration information of the object at the next level. Therefore, the value of the dictionary at the previous level may also be an object. In the actual collection process, only the configuration information of the determined and minimized objects to be reported will be collected, and then the dictionary data consisting of the resource configuration information of objects at different levels will be obtained. The dictionary data will be distinguished by the reporting type, and finally the cluster minimized configuration change information will be reported. The reporting type includes the number of reporting levels and the number of objects at each level. The corresponding identifier can be set for the dictionary data according to the complexity of the level set.
[0037] The reported configuration information is parsed, and the parsed configuration information is persisted in a database.
[0038] In some embodiments, the parsing of the reported configuration information includes: determining a dictionary mode for parsing the dictionary data according to the identifier. The complexity of the dictionary data can be determined according to the identifier, and a corresponding dictionary mode can be selected according to the complexity to parse the dictionary data. The parsed dictionary data can be persisted in a database for subsequent maintenance of the cluster configuration information.
[0039] The embodiment of the present invention determines the minimum scope of the impact of the change in resource configuration information, determines the minimized reporting level based on the minimum scope, and performs minimized configuration information collection work based on the minimized reporting level, thereby greatly reducing the workload of cluster configuration information statistics, improving the efficiency of cluster configuration information statistics, avoiding the waste of system resources due to statistics of object information that has not changed, thereby making full use of system resources and bringing convenience to subsequent configuration data persistence work.
[0040] It should be pointed out in particular that the various steps in the various embodiments of the above-mentioned information change reporting method can be cross-linked, replaced, added, and deleted. Therefore, these reasonable permutations, combinations and transformations of the information change reporting method should also belong to the scope of protection of the present invention, and the scope of protection of the present invention should not be limited to the embodiments.
[0041] Based on the above purpose, the second aspect of an embodiment of the present invention proposes a system for reporting information changes, including: a division module, configured to divide objects in a cluster into multiple levels according to scope from large to small, monitor each of the levels and determine whether there is a change in resource configuration information generated by the level; a reporting module, configured to respond to the existence of a change in resource configuration information generated by the level, determine the scope of influence according to the change in the resource configuration information, and determine a minimized set of levels to be reported according to the scope of influence; a structure module, configured to determine dictionary data to be reported according to the minimized set of levels, and report the configuration information of the minimized set of levels based on the dictionary data; and a storage module, configured to parse the reported configuration information and persist the parsed configuration information in a database.
[0042] In some embodiments, the reporting module is configured to: determine the level directly affected by the change in the resource configuration information, and determine whether the level above the level is affected by the change in the resource configuration information; and in response to the level above the level not being affected by the change in the resource configuration information, determine the scope of impact to be the level.
[0043] In some implementations, the reporting module is configured to: in response to a level above the level being affected by the change in the resource configuration information, determine an impact scope as the level and the level above.
[0044] In some implementations, the reporting module is configured to determine whether other attributes of the resource configuration information of the previous level, except for the resource configuration information of the level, are affected by the change.
[0045] In some implementations, the structure module is configured to: obtain dictionary data consisting of configuration information of the minimized set of levels, and identify the dictionary data according to complexity.
[0046] In some implementations, the storage module is configured to: determine a dictionary mode for parsing the dictionary data according to the identifier.
[0047] In some implementations, the partitioning module is configured to: back up the latest resource configuration information at a first time interval; and in response to completion of the backup, determine whether the current resource configuration information is different from the latest backed-up resource configuration information at a second time interval.
[0048] Based on the above purpose, the third aspect of an embodiment of the present invention proposes a computer device, comprising: at least one processor; and a memory, the memory storing computer instructions that can be executed on the processor, the instructions being executed by the processor to implement the following steps: S1, dividing the objects in the cluster into multiple levels according to the scope from large to small, monitoring each of the levels and determining whether there is a change in resource configuration information generated by the level; S2, in response to the existence of a change in resource configuration information generated by the level, determining the scope of influence according to the change in the resource configuration information, and determining a minimized set of levels to be reported according to the scope of influence; S3, determining dictionary data to be reported according to the minimized set of levels, and reporting the configuration information of the minimized set of levels based on the dictionary data; and S4, parsing the reported configuration information, and persisting the parsed configuration information in a database.
[0049] In some embodiments, determining the impact scope based on the change of the resource configuration information includes: determining the level directly affected by the change of the resource configuration information, and determining whether the level above the level is affected by the change of the resource configuration information; and in response to the level above the level not being affected by the change of the resource configuration information, determining the impact scope to be the level.
[0050] In some implementations, determining the impact scope based on the change in the resource configuration information includes: in response to an upper level of the level being affected by the change in the resource configuration information, determining the impact scope to be the level and the upper level.
[0051] In some implementations, determining whether the previous level of the level is affected by the change in the resource configuration information includes determining whether other attributes of the resource configuration information of the previous level other than the resource configuration information of the level are affected by the change.
[0052] In some implementations, determining the reported dictionary data according to the minimized set of levels includes: acquiring dictionary data consisting of configuration information of the minimized set of levels, and identifying the dictionary data according to complexity.
[0053] In some implementations, parsing the reported configuration information includes: determining a dictionary mode for parsing the dictionary data according to the identifier.
[0054] In some embodiments, monitoring each of the levels and determining whether there is a change in resource configuration information generated by the level includes: backing up the latest resource configuration information at a first interval; and in response to the backup being completed, determining whether there is a difference between the current resource configuration information and the latest backed-up resource configuration information at a second interval.
[0055] like Figure 2 , which is a schematic diagram of the hardware structure of an embodiment of a computer device for reporting the above-mentioned information changes provided by the present invention.
[0056] As Figure 2 Taking the device shown as an example, the device includes a processor 201 and a memory 202, and may also include: an input device 203 and an output device 204.
[0057] The processor 201, the memory 202, the input device 203 and the output device 204 may be connected via a bus or other means. Figure 2 The example of connecting through bus is taken in the following.
[0058] The memory 202 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the method for reporting information changes in the embodiment of the present application. The processor 201 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 202, that is, the method for reporting information changes in the above method embodiment is implemented.
[0059] The memory 202 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data created according to the use of the information change reporting method, etc. In addition, the memory 202 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 202 may optionally include a memory remotely arranged relative to the processor 201, and these remote memories may be connected to the local module via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0060] The input device 203 can receive input information such as user name and password. The output device 204 can include display devices such as display screens.
[0061] Program instructions / modules corresponding to one or more information change reporting methods are stored in the memory 202, and when executed by the processor 201, the information change reporting method in any of the above method embodiments is executed.
[0062] Any embodiment of a computer device that executes the above-mentioned information change reporting method can achieve the same or similar effect as any corresponding embodiment of the above-mentioned method.
[0063] The present invention also provides a computer-readable storage medium, which stores a computer program that performs the above method when executed by a processor.
[0064] like Figure 3 As shown in FIG. 1 , a schematic diagram of an embodiment of a computer storage medium for reporting the above-mentioned information change provided by the present invention is shown. Figure 3 Taking the computer storage medium shown as an example, the computer readable storage medium 3 stores a computer program 31 for executing the method for reporting information changes when executed by a processor.
[0065] The method for reporting information changes includes the following steps: dividing objects in a cluster into multiple levels according to their scope from large to small, monitoring each level and determining whether there is a change in resource configuration information generated by the level; in response to the existence of a change in resource configuration information generated by the level, determining the scope of influence according to the change in the resource configuration information, and determining a minimized set of levels to be reported according to the scope of influence; determining dictionary data to be reported according to the minimized set of levels, and reporting the configuration information of the minimized set of levels based on the dictionary data; and parsing the reported configuration information, and persisting the parsed configuration information in a database.
[0066] In some embodiments, determining the impact scope based on the change of the resource configuration information includes: determining the level directly affected by the change of the resource configuration information, and determining whether the level above the level is affected by the change of the resource configuration information; and in response to the level above the level not being affected by the change of the resource configuration information, determining the impact scope to be the level.
[0067] In some implementations, determining the impact scope based on the change in the resource configuration information includes: in response to an upper level of the level being affected by the change in the resource configuration information, determining the impact scope to be the level and the upper level.
[0068] In some implementations, determining whether the previous level of the level is affected by the change in the resource configuration information includes determining whether other attributes of the resource configuration information of the previous level other than the resource configuration information of the level are affected by the change.
[0069] In some implementations, determining the reported dictionary data according to the minimized set of levels includes: acquiring dictionary data consisting of configuration information of the minimized set of levels, and identifying the dictionary data according to complexity.
[0070] In some implementations, parsing the reported configuration information includes: determining a dictionary mode for parsing the dictionary data according to the identifier.
[0071] In some embodiments, monitoring each of the levels and determining whether there is a change in resource configuration information generated by the level includes: backing up the latest resource configuration information at a first interval; and in response to the backup being completed, determining whether there is a difference between the current resource configuration information and the latest backed-up resource configuration information at a second interval.
[0072] Finally, it should be noted that a person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program of the method for reporting information changes can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium of the program can be a disk, an optical disk, a read-only storage memory (ROM) or a random access memory (RAM), etc. The above-mentioned computer program embodiments can achieve the same or similar effects as the corresponding aforementioned arbitrary method embodiments.
[0073] The above are exemplary embodiments disclosed in the present invention, but it should be noted that various changes and modifications may be made without departing from the scope disclosed in the embodiments of the present invention as defined in the claims. The functions, steps and / or actions of the method claims according to the disclosed embodiments described herein do not need to be performed in any particular order. In addition, although the elements disclosed in the embodiments of the present invention may be described or required in individual form, they may also be understood as multiple unless explicitly limited to the singular.
[0074] It should be understood that, as used herein, the singular forms "a", "an" are intended to include the plural forms as well, unless the context clearly supports an exception. It should also be understood that, as used herein, "and / or" refers to any and all possible combinations including one or more of the associated listed items.
[0075] The serial numbers of the embodiments disclosed in the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0076] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0077] A person skilled in the art should understand that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the disclosure of the embodiments of the present invention (including the claims) is limited to these examples; under the concept of the embodiments of the present invention, the technical features in the above embodiments or different embodiments can also be combined, and there are many other changes in different aspects of the embodiments of the present invention as above, which are not provided in detail for the sake of simplicity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present invention should be included in the protection scope of the embodiments of the present invention.
Claims
1. A method for reporting information changes, characterized in that: The following steps are involved: Divide the objects in the cluster into multiple levels according to their scope from large to small, monitor each level and determine whether there is a change in resource configuration information generated by the level; In response to a change in resource configuration information generated at a level, determining an impact range according to the change in resource configuration information, determining a level directly affected by the change in resource configuration information, and determining whether an upper level of the level is affected by the change in resource configuration information; and in response to a level above the level being not affected by the change in the resource configuration information, determining the impact scope to be the level; In response to a level above the level being affected by the change in the resource configuration information, determining the impact scope to be the level and the level above; determining whether other attributes of the resource configuration information of the level above, except the resource configuration information of the level, are affected by the change, and determining a minimized set of levels to be reported according to the impact scope; Determining dictionary data to be reported according to the minimized set of levels, and reporting configuration information of the minimized set of levels based on the dictionary data; as well as The reported configuration information is parsed, and the parsed configuration information is persisted in a database.
2. The method according to claim 1, characterized in that The dictionary data to be reported determined according to the minimized set of levels includes: Dictionary data consisting of configuration information of the minimized set of levels is obtained, and the dictionary data is identified according to complexity.
3. The method according to claim 2, characterized in that The parsing of the reported configuration information includes: A dictionary mode for parsing the dictionary data is determined according to the identifier.
4. The method according to claim 1, characterized in that The monitoring of each of the layers and determining whether there is a change in the resource configuration information generated by the layer includes: Backing up the latest resource configuration information at regular intervals; and In response to the backup being completed, it is determined at second intervals whether the current resource configuration information is different from the most recently backed-up resource configuration information.
5. A system for reporting information changes, characterized in that: include: A partitioning module configured to partition objects in the cluster into multiple levels according to their scope from large to small, monitor each of the levels and determine whether there is a change in resource configuration information generated by the level; A reporting module configured to respond to a change in resource configuration information generated by a layer, determine an impact range according to the change in resource configuration information, determine a layer directly affected by the change in resource configuration information, and determine whether an upper layer of the layer is affected by the change in resource configuration information; and in response to a level above the level being not affected by the change in the resource configuration information, determining the impact scope to be the level; In response to a level above the level being affected by the change in the resource configuration information, determining the impact scope to be the level and the level above; determining whether other attributes of the resource configuration information of the level above, except the resource configuration information of the level, are affected by the change, and determining a minimized set of levels to be reported according to the impact scope; A structural module configured to determine dictionary data to be reported according to the minimized set of levels, and report configuration information of the minimized set of levels based on the dictionary data; as well as The storage module is configured to parse the reported configuration information and persist the parsed configuration information in a database.
6. A computer device, characterized in that: include: at least one processor; as well as A memory storing computer instructions executable on the processor, wherein the instructions, when executed by the processor, implement the steps of the method according to any one of claims 1 to 4.
7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Cluster system upgrade control method and device
CN106803790A
Application data acquisition method and an electronic device
CN109325154A