Method and device for updating cluster running information, storage medium and electronic device

By detecting and adjusting the update frequency of distributed cluster operation information items, the problem of low update efficiency of cluster operation information was solved, and a more reasonable and efficient information update cycle was achieved.

CN118394769BActive Publication Date: 2026-06-26JINAN INSPUR DATA TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
JINAN INSPUR DATA TECH CO LTD
Filing Date
2024-04-30
Publication Date
2026-06-26

Smart Images

  • Figure CN118394769B_ABST
    Figure CN118394769B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a cluster running information updating method and device, a storage medium and an electronic device, wherein the method comprises: detecting update information of a plurality of running information items in cluster running information of a distributed storage cluster in a historical time period; according to the running information items and the update information having a corresponding relationship, screening target information items from the plurality of running information items, the target information items satisfying a target update condition in terms of current update frequency; according to the target update information of the target information items, the running information items and the update information having a corresponding relationship, adjusting a current update period corresponding to the running information items to obtain the running information items and target update periods having a corresponding relationship; and updating the corresponding cluster running information items according to the running information items and the target update periods having a corresponding relationship. Through the present application, the problem of low update efficiency of cluster running information is solved, and the effect of improving the update efficiency of cluster running information is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computers, and more specifically, to a method and apparatus for updating cluster operation information, a storage medium, and an electronic device. Background Technology

[0002] In the context of massive storage, clusters are becoming increasingly large and complex, thus placing higher demands and greater importance on the management and operation of distributed clusters. To understand the cluster's operational status in a timely manner, it is possible, but not limited to, updating the cluster's cached information (equivalent to cluster operational information) through scheduled tasks. To prevent the execution of scheduled tasks from impacting cluster performance, the relevant scheduled task cycles are generally quite long.

[0003] Understandably, in related technologies, the cluster's cache information is updated at fixed intervals. When the cluster's operational status becomes abnormal, the cache information may not be updated in a timely manner, preventing users from responding quickly to the cluster based on the page's cached information. Furthermore, this scheduled task detection mechanism is inflexible. If the cluster continues to operate normally, some cluster information may not change, but the scheduled task will still run according to the original cycle, resulting in wasted resources and a certain impact on cluster performance. Summary of the Invention

[0004] This application provides a method, apparatus, storage medium, and electronic device for updating cluster operation information, so as to at least solve the problem of low efficiency in updating cluster operation information in related technologies.

[0005] According to one embodiment of this application, a method for updating cluster operation information is provided, applied to a cluster management application of a distributed storage cluster. The method includes: detecting update information of multiple operation information items in the cluster operation information of the distributed storage cluster within a historical time period, wherein the update information includes: change count information, update level information, resource consumption information, and current update frequency. The change count information indicates the number of times the corresponding operation information item has changed within the historical time period. The update level information indicates the degree of impact of the corresponding operation information item on the distributed storage cluster. The resource consumption information indicates the cluster resources consumed in updating the corresponding operation information item. Based on the corresponding operation information items and update information, a target information item whose current update frequency meets a target update condition is selected from the multiple operation information items, wherein the target update condition is a requirement for the reasonableness of the current update frequency. Based on the target update information of the target information item, the corresponding operation information items, and the update information, the current update cycle corresponding to the operation information item is adjusted to obtain the corresponding operation information items and the target update cycle. The corresponding cluster operation information item is updated according to the corresponding operation information items and the target update cycle.

[0006] In an exemplary embodiment, the step of selecting target information items whose current update frequency meets the target update condition from the plurality of operation information items based on the corresponding operation information items and update information includes: extracting corresponding operation information items, change count information, update level information, and resource consumption information from the corresponding operation information items and update information; converting the corresponding operation information items, change count information, and resource consumption information from the corresponding operation information items, change count information, update level information, and resource consumption information into corresponding operation information items and unit change information to obtain corresponding operation information items, unit change information, and update level information, wherein the unit change information is used to indicate the number of times the corresponding operation information item has changed under the same resource consumption within the historical time period; detecting the matching degree parameter of the operation information items based on the corresponding operation information items, unit change information, and update level information, wherein the matching degree parameter is used to indicate the degree of matching between the current update frequency and the corresponding operation information item; and selecting the target information items whose matching degree parameter meets the target parameter condition from the plurality of operation information items.

[0007] In one exemplary embodiment, the step of selecting the target information item whose matching degree parameter satisfies the target parameter condition from the plurality of operation information items includes one of the following: selecting the operation information item with the highest matching degree parameter from the plurality of operation information items as the target information item; selecting the operation information item with the matching degree parameter higher than the parameter threshold from the plurality of operation information items as candidate operation information items; or randomly selecting the target information item from the candidate operation information items.

[0008] In an exemplary embodiment, adjusting the current update cycle corresponding to the running information item based on the target update information of the target information item, the corresponding running information items, and update information to obtain the corresponding running information items and target update cycle includes: calculating the expected update frequency of the running information item based on the corresponding running information items and update information, wherein the current update frequency of the target information item is the expected update frequency of the target information item, and the expected update frequencies of other information items in the running information items besides the target information item are determined based on the expected update frequency of the target information item; and adjusting the current update cycle corresponding to the running information item based on the relationship between the current update frequency and the expected update frequency of the running information item to obtain the corresponding running information items and target update cycle.

[0009] In an exemplary embodiment, calculating the expected update frequency of the running information item based on the corresponding running information items and update information includes: using the current update frequency of the target information item as the expected update frequency of the target information item, and calculating the update factor using the following formula. Where t0 is the expected update frequency of the target information item, k0 is the update level information of the target information item (the greater the impact of the corresponding running information item on the distributed storage cluster, the larger the value of the update level information), n0 is the number of changes of the target information item, and r0 is the resource consumption information of the target information item; the expected update frequency of the other information items is calculated using the following formula. Where t is the expected update frequency of the other information item, k is the update level information of the other information item, n is the number of changes of the other information item, and r is the resource consumption information of the other information item; the step of adjusting the current update cycle corresponding to the running information item according to the relationship between the current update frequency and the expected update frequency of the running information item to obtain the running information item and the target update cycle with a corresponding relationship includes: when the current update frequency of the running information item is greater than the expected update frequency, extending the current update cycle corresponding to the running information item to obtain the target update cycle of the running information item; when the current update frequency of the running information item is less than the expected update frequency, shortening the current update cycle corresponding to the running information item to obtain the target update cycle of the running information item; and when the current update frequency of the running information item is equal to the expected update frequency, maintaining the current update cycle corresponding to the running information item as the target update cycle of the running information item.

[0010] In an exemplary embodiment, the method further includes: collecting alarm information generated on the distributed storage cluster and detecting change information items among the plurality of operation information items, wherein the change information item is an operation information item among the plurality of operation information items that changes when the alarm information is generated; establishing alarm type and alarm association information item with a corresponding relationship based on the alarm information and the change information item, wherein the alarm association information item is an operation information item that changes when an alarm of the corresponding alarm type occurs; and, when a target alarm is detected on the distributed storage cluster, updating the target alarm association information item corresponding to the target alarm type to which the target alarm belongs, and shortening the current update cycle corresponding to the target alarm association information item.

[0011] In an exemplary embodiment, the method further includes: establishing a topological association between the service topology of the distributed storage cluster and runtime information items, wherein the service topology is used to indicate the connection relationship between services provided in the distributed storage cluster, and the topological association is used to indicate runtime information items that change with changes in the service topology; when a target change is detected in the service topology, searching for reference information items that change with the target change from the topological association; and updating the reference information items.

[0012] According to another embodiment of this application, a cluster operation information updating device is provided, applied to a cluster management application of a distributed storage cluster. The device includes: a detection module, configured to detect update information of multiple operation information items in the cluster operation information of the distributed storage cluster within a historical time period. The update information includes: change count information, update level information, resource consumption information, and current update frequency. The change count information indicates the number of times the corresponding operation information item has changed within the historical time period. The update level information indicates the degree of impact of the corresponding operation information item on the distributed storage cluster. The resource consumption information indicates the update frequency of the corresponding operation information item. The system comprises: a cluster resource consumption module for runtime information items; a filtering module for selecting target information items whose current update frequency meets the target update condition from the plurality of runtime information items based on the corresponding runtime information items and update information, wherein the target update condition is a requirement for the reasonableness of the current update frequency; an adjustment module for adjusting the current update cycle corresponding to the runtime information item based on the target update information of the target information item, the corresponding runtime information items and update information, to obtain the corresponding runtime information items and target update cycle; and a first update module for updating the corresponding cluster runtime information items according to the corresponding runtime information items and target update cycle.

[0013] According to yet another embodiment of this application, a computer-readable storage medium is also provided, wherein a computer program is stored therein, and the computer program is configured to perform the steps in any of the above method embodiments when it is run.

[0014] According to yet another embodiment of this application, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0015] According to yet another embodiment of this application, a computer program product is also provided, including a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.

[0016] Through this application, the distributed storage cluster corresponds to multiple operational information items, each with a corresponding update cycle. Based on the update cycle of the operational information item with a more reasonable update cycle, the update cycle of the operational information item is adjusted. It is understood that the adjusted update cycle of the operational information item is more reasonable. In this way, the updating of operational information items through a fixed cycle is avoided, and the rationality of the update cycle of operational information items is improved. Therefore, the problem of low update efficiency of cluster operational information can be solved, and the effect of improving the update efficiency of cluster operational information can be achieved. Attached Figure Description

[0017] Figure 1 This is a hardware structure block diagram of a server device for a cluster operation information method according to an embodiment of this application;

[0018] Figure 2 This is a flowchart of a cluster operation information method according to an embodiment of this application;

[0019] Figure 3 This is a schematic diagram illustrating an optional method for calculating matching degree parameters according to an embodiment of this application;

[0020] Figure 4 This is a hardware framework diagram of an optional cluster operation information updating device according to an embodiment of this application;

[0021] Figure 5 This is a schematic diagram of an optional method for updating cluster operation information according to an embodiment of this application;

[0022] Figure 6 This is a structural block diagram of a cluster operation information updating device according to an embodiment of this application. Detailed Implementation

[0023] The embodiments of this application will be described in detail below with reference to the accompanying drawings and examples.

[0024] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0025] The methods and embodiments provided in this application can be executed on a server device or a similar computing device. Taking running on a server device as an example, Figure 1 This is a hardware structure block diagram of a server device for a cluster operation information method according to an embodiment of this application. For example... Figure 1 As shown, the server device may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The server device may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the server equipment described above. For example, the server equipment may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0026] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the cluster operation information method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thus implementing the above-described method. The memory 104 may include high-speed random access memory and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to server devices via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0027] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider for the server device. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module used for wireless communication with the Internet.

[0028] This embodiment provides a cluster operation information method, which is applied to the cluster management of distributed storage clusters. Figure 2 This is a flowchart of a cluster operation information method according to an embodiment of this application, such as... Figure 2 As shown, the process includes the following steps:

[0029] Step S202: Detect the update information of multiple operation information items in the cluster operation information of the distributed storage cluster within a historical time period. The update information includes: change count information, update level information, resource consumption information, and current update frequency. The change count information indicates the number of times the corresponding operation information item has changed within the historical time period. The update level information indicates the degree of influence of the corresponding operation information item on the distributed storage cluster. The resource consumption information indicates the cluster resources consumed by updating the corresponding operation information item.

[0030] Step S204: Based on the corresponding operation information items and update information, select target information items whose current update frequency meets the target update conditions from the multiple operation information items, wherein the target update conditions are the requirements for the reasonableness of the current update frequency;

[0031] Step S206: Based on the target update information of the target information item, the corresponding operation information item and update information, adjust the current update cycle corresponding to the operation information item to obtain the corresponding operation information item and target update cycle;

[0032] Step S208: Update the corresponding cluster operation information items according to the corresponding operation information items and the target update cycle.

[0033] Through the above steps, the distributed storage cluster corresponds to multiple runtime information items, each with a corresponding update cycle. Based on the update cycle of the runtime information item with the most reasonable update cycle, the update cycle of the runtime information item is adjusted. It can be understood that the adjusted update cycle of the runtime information item is more reasonable. In this way, the fixed cycle for updating runtime information items is avoided, and the rationality of the update cycle of runtime information items is improved. Therefore, the problem of low update efficiency of cluster runtime information can be solved, and the effect of improving the update efficiency of cluster runtime information can be achieved.

[0034] In the technical solution provided in step S202 above, the distributed storage cluster may include, but is not limited to, one or more distributed servers. It is understood that one or more servers may be used to provide services, such as computing services, graphics processing services, etc.

[0035] Optionally, in this embodiment, the operating status, service status, capacity, nodes, disks and other hardware information of the distributed storage cluster can be represented by the operating information values ​​corresponding to one or more operating information items, but not limited to these information. These information can be displayed on the cluster management application of the distributed storage cluster for easy viewing by staff.

[0036] Optionally, in this embodiment, the change count information is used to indicate the number of times the corresponding operation information item has changed within the historical time period. It can be understood that the number of times the corresponding operation information item has changed within the historical time period is less than or equal to the number of times the corresponding operation information item has been updated within the historical time period. For example, the corresponding operation information item has been updated 6 times within the historical time period, that is, the corresponding operation information item has been updated 6 times within the historical time period. However, among these 6 updates, the corresponding operation information item may only have changed 3 times. In such cases, the change count information is used to indicate that the corresponding operation information item has changed 6 times within the historical time period.

[0037] Optionally, in this embodiment, updating different runtime information items has corresponding cluster resources consumed. The cluster resources consumed in updating different runtime information items may be the same or different, and the cluster resources consumed may include, but are not limited to, the computing power resources or processor resources of the servers in the distributed storage cluster.

[0038] In the technical solution provided in step S204 above, different operational information items have corresponding update frequencies, and the update frequencies corresponding to different operational information items may be, but are not limited to, the same or different. The relationship between update frequency and update cycle may include, but is not limited to, the update cycle equaling 1 divided by the update frequency.

[0039] Optionally, in this embodiment, the target information item may include, but is not limited to, the information item whose update frequency among multiple running information items is greater than or equal to the reasonableness threshold. It is understood that the update cycle of the target information item is relatively reasonable, and the update cycle of the target information item is neither too fast nor too slow.

[0040] In an exemplary embodiment, target information items whose current update frequency meets the target update condition can be selected from the plurality of operational information items in the following manner, but not limited to: extracting operational information items with corresponding relationships, change count information, update level information, and resource consumption information from the operational information items and update information with corresponding relationships; converting the operational information items with corresponding relationships, change count information, update level information, and resource consumption information with corresponding relationships into operational information items with corresponding relationships and unit change information, to obtain operational information items with corresponding relationships, unit change information, and update level information, wherein the unit change information is used to indicate the number of times the corresponding operational information item has changed under the same resource consumption within the historical time period; detecting the matching degree parameter of the operational information items based on the operational information items with corresponding relationships, unit change information, and update level information, wherein the matching degree parameter is used to indicate the degree of matching between the current update frequency and the corresponding operational information item; and selecting the target information items whose matching degree parameter meets the target parameter condition from the plurality of operational information items.

[0041] Figure 3 This is a schematic diagram illustrating an optional method for calculating matching degree parameters according to an embodiment of this application, such as... Figure 3As shown, the automatic cache update cycle adjustment module automatically adjusts the update frequency of cache items based on the change patterns of cache information. Specifically, it uses historical cache data to compile a lookup table of update cycles, importance, resource consumption, and number of cache information changes for each cache item over the past six months. This lookup table may include, but is not limited to, cache items (equivalent to runtime information items) 1 to 4 corresponding to the distributed storage cluster. The importance of cache items 1 to 4 is 4, 3, 2, and 1, respectively. Cache item 1 consumed 100 resources and had 100 changes during the historical update period, with an update cycle of 2 minutes / time. Cache item 2 consumed 200 resources and had 20 changes during the historical update period, with an update cycle of 3 minutes / time. Cache item 3 consumed 300 resources and had 5 changes during the historical update period, with an update cycle of 4 minutes / time. Cache item 4 consumed 400 resources and had 0 changes during the historical update period, with an update cycle of 5 minutes / time.

[0042] In this scenario, it's possible, but not limited to, calculating the relative number of changes for each cache item while assuming the same resource consumption. For example, taking the resource consumption for updating cache item 1 as 100, it's possible to calculate that cache item 2 changes 10 times, cache item 3 changes 5 / 3 times, and cache item 3 changes 0 times. Furthermore, it's possible, but not limited to, considering the importance of each cache item, to determine if the resource investment and the number of cache information changes are proportional, thus finding the cache item that best meets expectations (equivalent to the target information item).

[0043] Optionally, in this embodiment, the matching degree parameter of the running information item can also be detected in the following ways, but not limited to: dividing the number of changes information by the resource consumption information to obtain the target quotient; performing a product operation on the target quotient and the weight corresponding to the running information item to obtain the matching degree parameter corresponding to the running information item, wherein the weight corresponding to the running information item is allocated according to the update level information, and the higher the update level information, the greater the weight corresponding to the running information item.

[0044] Optionally, in this embodiment, the unit change information is used to indicate the number of times the corresponding operation information item has changed under the same resource consumption within a historical time period. The same resource consumption may be based on the resource consumption corresponding to multiple operation information items, but is not limited to. The number of changes may include, but is not limited to, the number of times the operation information item has changed (e.g., the operation information item has become different). For example, if operation information item 1 has a resource consumption of 100 and has changed 100 times within a historical time period, and operation information item 2 has a resource consumption of 300 and has changed 50 times within a historical time period, then, based on the resource consumption of operation information item 1 being 100 within a historical time period, the number of changes of operation information item 2 with a resource consumption of 100 can be calculated as 50 / 3 times. Alternatively, based on the resource consumption of operation information item 2 being 300 within a historical time period, the number of changes of operation information item 2 with a resource consumption of 300 can be calculated as 300 times.

[0045] In one exemplary embodiment, the target information items whose matching degree parameter satisfies the target parameter condition can be selected from the plurality of operation information items by, but not limited to, one of the following methods:

[0046] Method 1: Select the running information item with the highest matching degree parameter from the plurality of running information items as the target information item.

[0047] Method 2: Select running information items with a matching degree parameter higher than the parameter threshold from the plurality of running information items as candidate running information items; randomly select the target information item from the candidate running information items.

[0048] Optionally, in this embodiment, the running information item with the highest matching degree parameter can be selected from multiple running information items as the target information item, but is not limited to this. It is understood that the update cycle of the target information item is the most reasonable. Alternatively, running information items with a matching degree parameter greater than or equal to a parameter threshold can be selected from multiple running information items as candidate running information items, and the target information item can be randomly selected from the candidate running information items. In this way, the target information item with the most reasonable update frequency can be selected through multiple methods, improving the rationality of the selected target information item.

[0049] In the technical solution provided in step S206 above, the target update information may include, but is not limited to, the number of changes to the target information item, the update level information of the target information item, the resource consumption information of the target information item, and the current update frequency of the target information item. The number of changes to the target information item is used to indicate the number of times the target running information item has changed within the historical time period. The update level information of the target information item is used to indicate the degree of impact of the target running information item on the distributed storage cluster. The resource consumption information of the target information item is used to indicate the cluster resources consumed in updating the target running information item.

[0050] Optionally, in this embodiment, the target running information item is the running information item with a reasonable update cycle among multiple running information items. It is understood that the update cycles of the running information items other than the target running information item may be unreasonable, for example, the update cycle is too long or too short. In such cases, the current update cycle corresponding to the running information item can be adjusted according to the target update information of the target information item, the corresponding running information items and update information.

[0051] In one exemplary embodiment, the current update cycle corresponding to the running information item can be adjusted based on the target update information of the target information item, the corresponding running information item, and the update information, to obtain the corresponding running information item and the target update cycle: The expected update frequency of the running information item is calculated based on the corresponding running information item and the update information, wherein the current update frequency of the target information item is the expected update frequency of the target information item, and the expected update frequencies of other information items in the running information item besides the target information item are determined based on the expected update frequency of the target information item; the current update cycle corresponding to the running information item is adjusted based on the relationship between the current update frequency and the expected update frequency of the running information item to obtain the corresponding running information item and the target update cycle.

[0052] Optionally, in this embodiment, the current update cycle corresponding to the running information item can be adjusted according to the relationship between the current update frequency and the expected update frequency of the running information item in the following way, but not limited to: detecting the target update frequency difference between the current update frequency and the expected update frequency of the running information item, calling the target adjustment model to adjust the target update frequency corresponding to the current update frequency of the running information item according to the target update frequency difference, wherein the target adjustment model is used to identify the adjustment model parameters corresponding to the received target update frequency difference, and determine the target update frequency corresponding to the running information item according to the determined adjustment model parameters. The target adjustment model allows the identification of adjustment model parameters corresponding to multiple update frequency differences. The adjustment model parameters corresponding to different update frequency differences are obtained by training the initial adjustment model using the current update frequency and the expected update frequency that have a corresponding relationship under the update frequency difference. The multiple update frequency differences include the target update frequency difference.

[0053] In this way, the update cycle of runtime information items can be indirectly adjusted by changing their update frequency, avoiding direct adjustment of the update cycle and reducing the computer resources required to adjust it. This improves the utilization rate of computer resources.

[0054] In one exemplary embodiment, the expected update frequency of a runtime information item can be calculated, but is not limited to, based on corresponding runtime information items and update information, in the following manner: using the current update frequency of the target information item as the expected update frequency of the target information item, and calculating the update factor using the following formula. Where t0 is the expected update frequency of the target information item, k0 is the update level information of the target information item (the greater the impact of the corresponding running information item on the distributed storage cluster, the larger the value of the update level information), n0 is the number of changes of the target information item, and r0 is the resource consumption information of the target information item; the expected update frequency of the other information items is calculated using the following formula. Where t is the expected update frequency of the other information item, k is the update level information of the other information item, n is the number of changes of the other information item, and r is the resource consumption information of the other information item; the step of adjusting the current update cycle corresponding to the running information item according to the relationship between the current update frequency and the expected update frequency of the running information item to obtain the running information item and the target update cycle with a corresponding relationship includes: when the current update frequency of the running information item is greater than the expected update frequency, extending the current update cycle corresponding to the running information item to obtain the target update cycle of the running information item; when the current update frequency of the running information item is less than the expected update frequency, shortening the current update cycle corresponding to the running information item to obtain the target update cycle of the running information item; and when the current update frequency of the running information item is equal to the expected update frequency, maintaining the current update cycle corresponding to the running information item as the target update cycle of the running information item.

[0055] Optionally, in this embodiment, if the current update frequency of the running information item is greater than the expected update frequency, it can be understood that the current update frequency of the running information item is too fast, that is, the current update cycle of the running information item is too short. In this case, the current update cycle corresponding to the running information item is extended. If the current update frequency of the running information item is less than the expected update frequency, it can be understood that the current update frequency of the running information item is too slow, that is, the current update cycle of the running information item is too long. In this case, the current update cycle corresponding to the running information item is shortened.

[0056] As an optional example, it can be combined, but is not limited to Figure 3 The process of calculating the update factor in the embodiments of this application is explained and described, and may be applied to, but is not limited to, the embodiments of this application.

[0057] The expected update frequency t of each cache item is directly proportional to the importance k of the cache and the number of cache information changes n, and inversely proportional to the average resource consumption r of the cache item: t = c * k * n / r, where c represents the update factor, the importance of the cache item is divided into 4 levels, namely 1, 2, 3, and 4. The greater the impact of the cache on the cluster, the higher the level, that is, the larger the value of k, and r is the average resource consumption of one update of the cache item.

[0058] The specific value of the update factor c can be obtained by using the target information item as a benchmark. Then, the expected update frequency t of other cached items is calculated using the update factor c. The expected update frequency is then compared with the actual update frequency of the cached items (equivalent to the current update spectrum), and the update frequency of those cached items that do not meet the expectations is automatically adjusted.

[0059] In this way, updates to cached items that haven't changed for a long time and consume a lot of resources (equivalent to runtime information items) can be automatically stopped. For cached items that change infrequently and have a manageable impact on the cluster, the update frequency can be automatically reduced. For cached items that change frequently and have a significant impact on the cluster, the update frequency can be automatically increased. These adjustments ensure both efficient cached item updates and prevent waste of cluster resources, allowing users to promptly identify cluster problems through cached items.

[0060] In an exemplary embodiment, the method further includes: collecting alarm information generated on the distributed storage cluster and detecting change information items among the plurality of operation information items, wherein the change information item is an operation information item among the plurality of operation information items that changes when the alarm information is generated; establishing alarm type and alarm association information item with corresponding relationship based on the alarm information and the change information item, wherein the alarm association information item is an operation information item that changes when an alarm of the corresponding alarm type occurs; and, when a target alarm is detected on the distributed storage cluster, updating the target alarm association information item corresponding to the target alarm type to which the target alarm belongs, and shortening the current update cycle corresponding to the target alarm association information item.

[0061] Optionally, in this embodiment, the alarm information may be used, but is not limited to, to alert for faults in server components in the distributed storage cluster. For example, an alarm may be generated when the server fan is malfunctioning, or when the server hard drive is malfunctioning.

[0062] Optionally, in this embodiment, the change information item is the running information item that has changed among multiple running information items when the alarm information is generated. It can be understood that there is a relationship between the alarm information and the change information item.

[0063] For example, the alarm and cache association module identifies objects of the same type using a unique object ID. Different alarm and cache information corresponding to the same object are also identified using different alarm IDs and cache IDs, respectively. Both alarm and cache information contain the object's object ID. Then, historical alarm and cache information for each object is retrieved using the object ID, and compared and summarized according to the alarm time and the time of cache information change. If an object generates an alarm, and its cache information (equivalent to runtime information items) changes around the same time, then the object's alarm and cache information are associated. This further establishes the association between each alarm ID and each cache ID, and finally automatically generates a dictionary of alarm IDs and associated cache IDs.

[0064] For example, when the cluster generates a disk absence alarm (alarm ID 10001), the OSD status information (cache ID 001) and disk status information (cache ID 002) in the page cache will change simultaneously. Similarly, when the cluster reports an abnormal fan speed alarm (alarm ID 10002), the fan status in the page cache (cache ID 003) will also show an abnormality. Therefore, the dictionary associated with disk absence alarms, fan status, and fan speed alarms is {"10001": "001, 002", "10002": "003", ...}. When an object generates an alarm, the alarm ID is used to find the list of associated cache IDs in the alarm and cache association dictionary, and a new thread is immediately started to update this cache information (equivalent to running information items), shortening the update cycle of this cache information. In this way, when an alarm occurs, the associated cache information is updated immediately, improving the timeliness of cache information updates.

[0065] In one exemplary embodiment, the method further includes: establishing a topological association between the service topology of the distributed storage cluster and runtime information items, wherein the service topology is used to indicate the connection relationship between services provided in the distributed storage cluster, and the topological association is used to indicate runtime information items that change with changes in the service topology; when a target change is detected in the service topology, searching for reference information items that change with the target change from the topological association; and updating the reference information items.

[0066] Optionally, in this embodiment, the service topology may be used, but is not limited to, to indicate the connection relationship between the services provided in the distributed storage cluster. For example, the services provided in the distributed storage cluster include computing services, graphics processing services, instant messaging services, etc., so the service topology may be used, but is not limited to, to represent the connection relationship between computing services, graphics processing services, and instant messaging services.

[0067] Optionally, in this embodiment, after establishing the topological association between the service topology of the distributed storage cluster and the running information items, the method further includes: obtaining a target filtering request triggered by a user, wherein the target filtering request is used to request filtering out reference running information items from the running information items that have changed due to the change in the service topology; and responding to the target filtering request to filter out reference running information items from the running information items that have changed due to the change in the service topology.

[0068] As an optional example, but not limited to, a cache subscription module can analyze whether there is a correlation between each cache item and the cluster topology information. For cache items with correlation, users can subscribe to these cache items according to their actual needs. Through the embodiments of this application, after completing the subscription of a cache item, the module can detect changes in the cluster topology in real time by maintaining the cluster topology information, and update the corresponding cache information when the cluster topology information changes. This makes these cache items no longer dependent on scheduled task updates, improving the timeliness of cache updates.

[0069] Optionally, in this embodiment, when updating reference information items, the update cycle of the reference operation information items may be adjusted (e.g., the update cycle of the reference operation information items may be shortened), or the update cycle of the reference operation information items may not be adjusted.

[0070] In the technical solution provided in step S208 above, the corresponding cluster operation information items can be updated according to the adjusted update cycle, but not limited to. Through the embodiments of this application, by summarizing the historical changes in cache information of the cluster and the current cluster operation status, the update frequency of each cache item is automatically adjusted. At the same time, by monitoring changes in cluster topology information, the cluster cache information is actively updated, which improves the timeliness and reliability of cluster cache information updates, enhances the competitiveness of the product, and facilitates cluster maintenance.

[0071] To better understand the cluster operation information update method in the embodiments of this application, the following explanation and description of the cluster operation information update method in the embodiments of this application are provided in conjunction with optional embodiments, which may be applied to, but are not limited to, the embodiments of this application.

[0072] Figure 4 This is a hardware framework diagram of an optional cluster operation information updating device according to an embodiment of this application, such as... Figure 4 As shown, the cluster operation information update device in this application embodiment may include, but is not limited to, a cache update cycle automatic adjustment module, an alarm and cache association module, and a cache subscription module.

[0073] 1) Automatic adjustment module for cache update cycle

[0074] This module automatically adjusts the update frequency of cache items by analyzing the change patterns of cache information in each cache item. First, it aggregates historical cache data from the past six months to create a table showing the update cycle, importance, resource consumption, and number of cache information changes for each cache item. Then, using this table and assuming equivalent resource consumption, it calculates the relative update frequency for each cache item and, combined with the importance of each item, determines whether the resource investment and the number of cache information changes are proportional, identifying the cache item that best meets expectations. Finally, using the best-performing cache item as a benchmark, it calculates the expected update frequency for other cache items and compares it with the actual update frequency, automatically adjusting the update frequencies of those that do not meet expectations. Through this adjustment, it ensures efficient cache updates without wasting resources, allowing users to promptly identify cluster problems through cache information.

[0075] (2) Alarm and cache association module

[0076] This module identifies objects of the same type using a unique object ID. Different alarm and cache information corresponding to the same object are also identified using different alarm IDs and cache IDs, both containing the object's object ID. Then, it retrieves historical alarm and cache information for each object using the object ID, and compares and summarizes these based on the alarm time and cache information change time. If an object generates an alarm and its cache information changes around the same time, the alarm and cache information for that object are considered related. This further establishes the relationships between alarm IDs and cache IDs, and finally, an automatic dictionary of alarm IDs and associated cache IDs is generated. When an object generates an alarm, a new thread is immediately started to update the cache information associated with that alarm. Simultaneously, since the object generates an alarm, indicating unstable operation, the cache update cycle automatic adjustment module increases the update frequency of the object's scheduled cache task.

[0077] (3) Cache subscription module

[0078] This module analyzes the correlation between various cached items and the cluster topology. For cached items with correlations, users can subscribe to these items according to their actual needs. After subscribing to a cached item, the module can detect changes in the cluster topology in real time by maintaining the cluster topology information. When the cluster topology information changes, the corresponding cached information is updated, so that these cached items no longer depend on scheduled task updates, improving the timeliness of cache updates.

[0079] Through the above three modules, the update method of the cluster's cached information items (equivalent to runtime information items) has been transformed from the original passive method of periodic updates to a method that can automatically adjust the update cycle and perform related updates triggered by events. This ensures the timeliness of the cluster's cached information updates, improves the reliability of the product, and facilitates the maintenance of the cluster.

[0080] Figure 5 This is a schematic diagram of an optional cluster operation information update method according to an embodiment of this application, such as... Figure 5 As shown, the steps may include, but are not limited to:

[0081] Step S501: Analyze the number of updates, update cycle, importance, and resource consumption of historical cache information.

[0082] Step S502: Calculate the number of cache updates and the expected update frequency within a certain time range under the same resource consumption.

[0083] Step S503: Detect whether the cached item has not been updated for a long time. If it has not been updated for a long time, stop the scheduled task for updating the cached item. If it has not been updated for a long time, proceed to step S504.

[0084] Step S504: Detect whether the actual update frequency (equivalent to the current update frequency) is greater than the expected update frequency. If the current update frequency is less than or equal to the expected update frequency, increase the period of the scheduled task for updating the cache item. If the current update frequency is greater than the expected update frequency, proceed to step S505.

[0085] Step S505: If the actual update frequency is less than the expected update frequency, proceed to step S506; if the actual update frequency is greater than or equal to the expected update frequency, terminate directly.

[0086] Step S506: Reduce the cycle of the scheduled task that updates the cache item.

[0087] Through the embodiments of this application, the cluster can automatically adjust the update frequency of each cache item based on its own operating conditions, transforming it from a fixed periodic update method to a variable periodic update method. This not only improves the timeliness of cache updates but also eliminates unnecessary additional overhead for the cluster, enhancing product robustness and reliability, and facilitating cluster maintenance. Furthermore, the cluster can proactively trigger updates of associated cache information through alarms and changes in topology information, making the cache no longer entirely dependent on scheduled task updates, further improving the timeliness of cache updates.

[0088] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0089] This embodiment also provides a cluster operation information updating device, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0090] Figure 6 This is a structural block diagram of a cluster operation information updating device according to an embodiment of this application, applied to cluster management applications of distributed storage clusters, such as... Figure 6 As shown, the device includes:

[0091] The detection module 602 is used to detect the update information of multiple operation information items in the cluster operation information of the distributed storage cluster within a historical time period. The update information includes: change count information, update level information, resource consumption information, and current update frequency. The change count information is used to indicate the number of times the corresponding operation information item has changed within the historical time period. The update level information is used to indicate the degree of impact of the corresponding operation information item on the distributed storage cluster. The resource consumption information is used to indicate the cluster resources consumed in updating the corresponding operation information item.

[0092] The filtering module 604 is used to filter out target information items whose current update frequency meets the target update conditions from the plurality of operation information items based on the corresponding operation information items and update information, wherein the target update conditions are the requirements for the reasonableness of the current update frequency.

[0093] The adjustment module 606 is used to adjust the current update cycle corresponding to the running information item based on the target update information of the target information item, the running information item with corresponding relationship and the update information, so as to obtain the running information item with corresponding relationship and the target update cycle.

[0094] The first update module 608 is used to update the corresponding cluster operation information items according to the operation information items with corresponding relationships and the target update cycle.

[0095] Through the aforementioned device, the distributed storage cluster corresponds to multiple operational information items, each with a corresponding update cycle. Based on the update cycle of the operational information item with a more reasonable update cycle, the update cycle of the operational information item is adjusted. It can be understood that the adjusted update cycle of the operational information item is more reasonable. In this way, the updating of operational information items through a fixed cycle is avoided, and the rationality of the update cycle of operational information items is improved. Therefore, the problem of low update efficiency of cluster operational information can be solved, and the effect of improving the update efficiency of cluster operational information can be achieved.

[0096] In one exemplary embodiment, the screening module includes:

[0097] The extraction unit is used to extract corresponding operation information items, change count information, update level information, and resource consumption information from operation information items and update information that have a corresponding relationship.

[0098] The conversion unit is used to convert the corresponding operation information items, change count information, and resource consumption information from the corresponding operation information items, change count information, update level information, and resource consumption information into corresponding operation information items and unit change information, thereby obtaining corresponding operation information items, unit change information, and update level information. The unit change information is used to indicate the number of times the corresponding operation information item has changed under the same resource consumption within the historical time period.

[0099] The detection unit is used to detect the matching degree parameter of the operation information item based on the corresponding operation information item, unit change information and update level information, wherein the matching degree parameter is used to indicate the degree of matching between the current update frequency and the corresponding operation information item;

[0100] The filtering unit is used to filter out the target information items from the plurality of operation information items whose matching degree parameter satisfies the target parameter condition.

[0101] In one exemplary embodiment, the filtering unit is used for one of the following:

[0102] The running information item with the highest matching degree parameter is selected from the plurality of running information items as the target information item;

[0103] From the plurality of running information items, running information items with a matching degree parameter higher than the parameter threshold are selected as candidate running information items; from the candidate running information items, the target information item is randomly selected.

[0104] In one exemplary embodiment, the adjustment module includes:

[0105] A calculation unit is used to calculate the expected update frequency of the running information items based on the corresponding running information items and update information, wherein the current update frequency of the target information item is the expected update frequency of the target information item, and the expected update frequencies of other information items in the running information items other than the target information item are determined based on the expected update frequency of the target information item.

[0106] The adjustment unit is used to adjust the current update cycle corresponding to the running information item based on the relationship between the current update frequency and the expected update frequency of the running information item, so as to obtain the running information item and the target update cycle with corresponding relationship.

[0107] In one exemplary embodiment, the computing unit is used for:

[0108] The current update frequency of the target information item is taken as the expected update frequency of the target information item, and the update factor c is calculated using the following formula:

[0109]

[0110] Wherein, t0 is the expected update frequency of the target information item, k0 is the update level information of the target information item, the greater the impact of the corresponding running information item on the distributed storage cluster, the larger the value of the update level information, n0 is the number of changes of the target information item, and r0 is the resource consumption information of the target information item.

[0111] The expected update frequency t of the other information items is calculated using the following formula:

[0112]

[0113] Where t is the expected update frequency of the other information item, k is the update level information of the other information item, n is the number of changes of the other information item, and r is the resource consumption information of the other information item;

[0114] The adjustment unit is configured to: extend the current update cycle of the running information item to obtain the target update cycle of the running information item when the current update frequency of the running information item is greater than the expected update frequency; shorten the current update cycle of the running information item to obtain the target update cycle of the running information item when the current update frequency of the running information item is less than the expected update frequency; and maintain the current update cycle of the running information item as the target update cycle of the running information item when the current update frequency of the running information item is equal to the expected update frequency.

[0115] In one exemplary embodiment, the device further includes:

[0116] The processing module is used to collect alarm information generated on the distributed storage cluster and detect change information items among the multiple running information items, wherein the change information item is the running information item among the multiple running information items that has changed when the alarm information is generated;

[0117] The first establishment module is used to establish alarm types and alarm association information items with corresponding relationships based on the alarm information and the change information items, wherein the alarm association information items are operation information items that will change when the corresponding alarm type occurs;

[0118] The second update module is used to update the target alarm association information item corresponding to the target alarm type to which the target alarm belongs when a target alarm is detected on the distributed storage cluster, and to shorten the current update cycle corresponding to the target alarm association information item.

[0119] In one exemplary embodiment, the device further includes:

[0120] The second establishment module is used to establish the topological association between the service topology structure and the operation information items of the distributed storage cluster, wherein the service topology structure is used to indicate the connection relationship between the services provided in the distributed storage cluster, and the topological association is used to indicate the operation information items that change with the change of the service topology structure.

[0121] The lookup module is used to find reference information items that have changed with the target change from the topology association when a target change is detected in the service topology structure;

[0122] The third update module is used to update the reference information item.

[0123] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.

[0124] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when run.

[0125] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.

[0126] Embodiments of this application also provide an electronic device, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0127] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.

[0128] Embodiments of this application also provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.

[0129] Embodiments of this application also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.

[0130] Embodiments of this application also provide a computer program that includes computer instructions stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the steps in any of the above method embodiments.

[0131] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.

[0132] Obviously, those skilled in the art should understand that the modules or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, this application is not limited to any particular combination of hardware and software.

[0133] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.

Claims

1. A method for updating cluster operation information, characterized in that, A cluster management application for distributed storage clusters, the method comprising: The update information of multiple operation information items in the cluster operation information of the distributed storage cluster is detected within a historical time period. The update information includes: change count information, update level information, resource consumption information, and current update frequency. The change count information is used to indicate the number of times the corresponding operation information item has changed within the historical time period. The update level information is used to indicate the degree of impact of the corresponding operation information item on the distributed storage cluster. The resource consumption information is used to indicate the cluster resources consumed in updating the corresponding operation information item. Based on the corresponding operation information items and update information, target information items whose current update frequency meets the target update conditions are selected from the plurality of operation information items, wherein the target update conditions are the requirements for the reasonableness of the current update frequency; Based on the target update information of the target information item, the corresponding operation information item and update information, the current update cycle corresponding to the operation information item is adjusted to obtain the corresponding operation information item and target update cycle; Update the corresponding cluster operation information items according to the corresponding operation information items and the target update cycle; The step of selecting target information items whose current update frequency meets the target update condition from the plurality of operation information items based on the corresponding operation information items and update information includes: Extract the corresponding operational information items, change frequency information, update level information, and resource consumption information from the corresponding operational information items and update information; convert the corresponding operational information items, change frequency information, and resource consumption information into corresponding operational information items and unit change information to obtain corresponding operational information items, unit change information, and update level information, wherein the unit change information is used to indicate the number of times the corresponding operational information item has changed under the same resource consumption within the historical time period; detect the matching degree parameter of the operational information items based on the corresponding operational information items, unit change information, and update level information, wherein the matching degree parameter is used to indicate the degree of matching between the current update frequency and the corresponding operational information item; filter the target information items from the multiple operational information items whose matching degree parameter satisfies the target parameter condition; The step of adjusting the current update cycle corresponding to the running information item based on the target update information of the target information item, the corresponding running information item, and the update information to obtain the corresponding running information item and the target update cycle includes: calculating the expected update frequency of the running information item based on the corresponding running information item and the update information, wherein the current update frequency of the target information item is the expected update frequency of the target information item, and the expected update frequencies of other information items in the running information item besides the target information item are determined based on the expected update frequency of the target information item; and adjusting the current update cycle corresponding to the running information item based on the relationship between the current update frequency and the expected update frequency to obtain the corresponding running information item and the target update cycle. The step of calculating the expected update frequency of the running information items based on the corresponding running information items and update information includes: The current update frequency of the target information item is taken as the expected update frequency of the target information item, and the update factor c is calculated using the following formula: ; Wherein, t0 is the expected update frequency of the target information item, k0 is the update level information of the target information item, the greater the impact of the corresponding running information item on the distributed storage cluster, the larger the value of the update level information, n0 is the number of changes of the target information item, and r0 is the resource consumption information of the target information item. The expected update frequency t of the other information items is calculated using the following formula: ; Where t is the expected update frequency of the other information item, k is the update level information of the other information item, n is the number of changes of the other information item, and r is the resource consumption information of the other information item; The step of adjusting the current update cycle of a running information item based on the relationship between its current update frequency and the expected update frequency, to obtain a corresponding running information item and a target update cycle, includes: extending the current update cycle of the running information item when its current update frequency is greater than the expected update frequency, to obtain the target update cycle of the running information item; shortening the current update cycle of the running information item when its current update frequency is less than the expected update frequency, to obtain the target update cycle of the running information item; and maintaining the current update cycle of the running information item as the target update cycle of the running information item when its current update frequency is equal to the expected update frequency.

2. The method according to claim 1, characterized in that, The step of selecting the target information item from the plurality of operation information items that satisfies the target parameter condition includes one of the following: The running information item with the highest matching degree parameter is selected from the plurality of running information items as the target information item; From the plurality of running information items, running information items whose matching degree parameter is higher than the parameter threshold are selected as candidate running information items; The target information item is randomly selected from the candidate running information items.

3. The method according to claim 1, characterized in that, The method further includes: The alarm information generated on the distributed storage cluster is collected, and the change information item among the multiple operation information items is detected, wherein the change information item is the operation information item among the multiple operation information items that has changed when the alarm information is generated; Based on the alarm information and the change information item, establish alarm types and alarm association information items with corresponding relationships, wherein the alarm association information item is an operation information item that will change when the corresponding alarm type occurs; If a target alarm is detected on the distributed storage cluster, the target alarm association information item corresponding to the target alarm type to which the target alarm belongs is updated, and the current update cycle corresponding to the target alarm association information item is shortened.

4. The method according to claim 1, characterized in that, The method further includes: Establish a topological association between the service topology and the runtime information items of the distributed storage cluster, wherein the service topology is used to indicate the connection relationship between the services provided in the distributed storage cluster, and the topological association is used to indicate the runtime information items that change with the change of the service topology. If a target change is detected in the service topology, the reference information item that has changed with the target change is retrieved from the topology association. Update the reference information item.

5. A device for updating cluster operation information, characterized in that, A cluster management application for distributed storage clusters, the apparatus being used to perform the steps of the method according to any one of claims 1 to 4, the apparatus comprising: The detection module is used to detect the update information of multiple operation information items in the cluster operation information of the distributed storage cluster within a historical time period. The update information includes: change count information, update level information, resource consumption information, and current update frequency. The change count information is used to indicate the number of times the corresponding operation information item has changed within the historical time period. The update level information is used to indicate the degree of impact of the corresponding operation information item on the distributed storage cluster. The resource consumption information is used to indicate the cluster resources consumed in updating the corresponding operation information item. The filtering module is used to filter target information items whose current update frequency meets the target update conditions from the multiple operation information items based on the corresponding operation information items and update information, wherein the target update conditions are the requirements for the reasonableness of the current update frequency; The adjustment module is used to adjust the current update cycle corresponding to the running information item based on the target update information of the target information item, the corresponding running information item and update information, so as to obtain the corresponding running information item and target update cycle. The first update module is used to update the corresponding cluster operation information items according to the operation information items with corresponding relationships and the target update cycle; The filtering module includes: an extraction unit, used to extract corresponding operation information items, change frequency information, update level information, and resource consumption information from corresponding operation information items and update information; a conversion unit, used to convert the corresponding operation information items, change frequency information, and resource consumption information from the corresponding operation information items, change frequency information, update level information, and resource consumption information into corresponding operation information items and unit change information, obtaining corresponding operation information items, unit change information, and update level information, wherein the unit change information is used to indicate the number of times the corresponding operation information item has changed under the same resource consumption within the historical time period; and a detection unit, used to detect the matching degree parameter of the operation information items based on the corresponding operation information items, unit change information, and update level information, wherein... The matching degree parameter is used to indicate the degree of matching between the current update frequency and the corresponding running information item; the filtering unit is used to filter out the target information item from the plurality of running information items whose matching degree parameter satisfies the target parameter condition; the adjustment module includes: a calculation unit, used to calculate the expected update frequency of the running information item according to the running information items and update information with corresponding relationships, wherein the current update frequency of the target information item is the expected update frequency of the target information item, and the expected update frequencies of other information items in the running information items besides the target information item are determined according to the expected update frequency of the target information item; the adjustment unit is used to adjust the current update cycle corresponding to the running information item according to the relationship between the current update frequency and the expected update frequency of the running information item, to obtain the running information items and the target update cycle with corresponding relationships; the calculation unit is used to: The current update frequency of the target information item is taken as the expected update frequency of the target information item, and the update factor c is calculated using the following formula: ; Wherein, t0 is the expected update frequency of the target information item, k0 is the update level information of the target information item, the greater the impact of the corresponding running information item on the distributed storage cluster, the larger the value of the update level information, n0 is the number of changes of the target information item, and r0 is the resource consumption information of the target information item. The expected update frequency t of the other information items is calculated using the following formula: ; Where t is the expected update frequency of the other information item, k is the update level information of the other information item, n is the number of changes of the other information item, and r is the resource consumption information of the other information item; The adjustment unit is configured to: extend the current update cycle of the running information item to obtain the target update cycle of the running information item when the current update frequency of the running information item is greater than the expected update frequency; shorten the current update cycle of the running information item to obtain the target update cycle of the running information item when the current update frequency of the running information item is less than the expected update frequency; and maintain the current update cycle of the running information item as the target update cycle of the running information item when the current update frequency of the running information item is equal to the expected update frequency.

6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the method described in any one of claims 1 to 4.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method described in any one of claims 1 to 4.