Data processing method, device, equipment and storage medium
By querying and configuring targeted resource coverage policies for each directory in the cloud storage resource pool, the problem of insufficient flexibility caused by the fixed resource coverage policies in the existing technology is solved, and more flexible and efficient storage space management is achieved.
Patent Information
- Application Number
- CN202410815143.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-06-21
AI Technical Summary
In existing cloud storage resource coverage solutions, fixed resource coverage strategies lead to poor flexibility, and targeted resource coverage strategies cannot be configured according to the needs of different directories, resulting in inflexible storage space management.
When it is determined that the resource coverage processing conditions are met, the resource coverage policy of each directory is queried and determined, and resource coverage processing is performed based on this policy. It supports the configuration of targeted resource coverage policies for directories in the resource pool and avoids the use of unified policies.
It improves the flexibility of resource coverage and can dynamically adjust the resource coverage cycle according to the needs of different directories, ensuring that the storage space management of the resource pool is more flexible and efficient.
Smart Images

Figure CN118377434B
Abstract
Description
Technical Field
[0001] The present application relates to the field of cloud storage technology, and in particular to a data processing method, device, equipment and storage medium. Background Art
[0002] Cloud storage refers to storing data on a remote server instead of a local computer or storage device. With cloud storage, users can access their stored data over the Internet without relying on a specific physical location or device. The data is usually managed and maintained by the cloud service provider.
[0003] When the cloud storage space is insufficient, resources need to be overwritten, that is, some historical video data needs to be deleted in order to have enough storage space for storing new video data.
[0004] In current resource coverage solutions, fixed resource coverage strategies are usually used to delete data in the same resource pool, which has poor flexibility. Summary of the invention
[0005] In view of this, the present application provides a data processing method, apparatus, device and storage medium.
[0006] According to a first aspect of an embodiment of the present application, there is provided a data processing method, including:
[0007] When it is determined that the condition for performing resource coverage processing on the target resource pool is met, for any directory in the target resource pool, querying the resource coverage policy configured for the directory;
[0008] In the case where the resource coverage policy configured for the directory is queried, the resource coverage policy configured for the directory is determined as the resource coverage policy corresponding to the directory;
[0009] Perform resource coverage processing on the directory according to the resource coverage strategy corresponding to the directory.
[0010] According to a second aspect of an embodiment of the present application, there is provided a data processing device, including:
[0011] A query unit configured to query a resource coverage policy configured for any directory in the target resource pool when it is determined that a condition for performing resource coverage processing on the target resource pool is met;
[0012] a determining unit configured to determine the resource coverage policy configured for the directory as the resource coverage policy corresponding to the directory when the query unit queries the resource coverage policy configured for the directory;
[0013] The processing unit is configured to perform resource coverage processing on the directory according to the resource coverage policy corresponding to the directory.
[0014] According to a third aspect of an embodiment of the present application, there is provided an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0015] Memory, used to store computer programs;
[0016] The processor is used to implement the method provided in the first aspect when executing the program stored in the memory.
[0017] According to a fourth aspect of an embodiment of the present application, a non-temporary computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the method provided in the first aspect is implemented.
[0018] The data processing method of the embodiment of the present application, when determining that the conditions for performing resource coverage processing on the target resource pool are met, queries the resource coverage policy configured for any directory in the target resource pool, and when the resource coverage policy configured for the directory is queried, determines the resource coverage policy configured for the directory as the resource coverage policy corresponding to the directory, and then, resource coverage processing can be performed on the directory based on the resource coverage policy corresponding to the directory. By configuring targeted resource coverage policies for the directories in the resource pool, a resource pool is no longer limited to using a unified resource coverage policy for resource coverage processing, thereby improving the flexibility of resource coverage. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a flowchart of a data processing method provided in an embodiment of the present application;
[0020] Figure 2 is a schematic diagram of a directory coverage strategy provided in an embodiment of the present application;
[0021] Figure 3 It is a schematic diagram of a directory coverage strategy update provided by an embodiment of the present application;
[0022] Figure 4 is a structural schematic diagram of a data processing device provided in an embodiment of the present application;
[0023] Figure 5 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] In order to enable those skilled in the art to better understand the technical solutions provided by the embodiments of the present application, some technical terms involved in the embodiments of the present application are briefly explained below.
[0025] 1. Domain: Cloud storage can manage multiple storage nodes. The resource pool data created within the domain will only be written to the storage resources within the domain, realizing the isolation of storage resources by domain.
[0026] 2. Resource pool: Cloud storage is a virtual container used to store data. Based on the total capacity of the cloud storage domain, a resource pool of a certain size can be created and data can be written to the resource pool.
[0027] 3. Cyclic overwriting: Cloud storage automatically deletes expired data according to the cycle rules or capacity rules set by the user, freeing up storage space and ensuring that new data can be written normally.
[0028] Exemplarily, the periodic rule may be based on days, for example, the period may be set to 2 days; the capacity rule may be executed according to the percentage of the remaining capacity of the resource pool, for example, the coverage is executed when the remaining capacity of the resource pool is less than 10%.
[0029] In order to make the above-mentioned purposes, features and advantages of the embodiments of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application are further described in detail below with reference to the accompanying drawings.
[0030] It should be noted that the serial numbers of the steps in the embodiments of the present application do not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0031] See also Figure 1 , is a flow chart of a data processing method provided in an embodiment of the present application. Exemplarily, the data processing method can be applied to a cloud storage resource management device, such as Figure 1 As shown, the data processing method may include the following steps:
[0032] Step S100: When it is determined that the conditions for performing resource coverage processing on the target resource pool are met, for any directory in the target resource pool, query whether there is a resource coverage policy configured for the directory.
[0033] In an embodiment of the present application, in order to improve the flexibility of resource coverage, when configuring resource coverage policies for a resource pool, it is no longer limited to configuring a unified resource coverage policy for the entire resource pool, but targeted resource coverage policies can be configured for some or all directories in the resource pool as needed.
[0034] Accordingly, for any resource pool (referred to as the target resource pool in this article), when it is determined that the conditions for the target resource pool to perform resource coverage processing are met, it can be determined whether each directory under the resource pool is configured with a resource coverage policy specifically.
[0035] Exemplarily, the conditions for performing resource overlay processing on the target resource pool may include: the remaining capacity of the target resource pool is lower than a preset capacity threshold (which may be called a first capacity threshold), or the remaining capacity of the cloud storage domain to which the target resource pool belongs is lower than a preset capacity threshold (which may be called a second capacity threshold).
[0036] Exemplarily, when the remaining capacity of the cloud storage domain is lower than the second capacity threshold, each resource pool under the cloud storage domain needs to perform resource coverage processing.
[0037] Step S110: When the resource coverage policy configured for the directory is found, the resource coverage policy configured for the directory is determined as the resource coverage policy corresponding to the directory.
[0038] Step S120: Perform resource coverage processing on the directory according to the resource coverage policy corresponding to the directory.
[0039] In an embodiment of the present application, for any directory in the target resource pool, when a resource coverage policy configured for the directory is queried, the resource coverage policy configured for the directory can be determined as the resource coverage policy corresponding to the directory.
[0040] When the resource coverage policy corresponding to the directory is determined, resource coverage processing can be performed on the directory according to the resource coverage policy corresponding to the directory.
[0041] Exemplarily, the resource coverage policy may be used to indicate a resource coverage period (also referred to as data retention duration).
[0042] For example, assuming that the resource coverage policy configured for directory A indicates that the resource coverage period is 30 days, then when it is necessary to perform resource coverage on directory A, data stored in directory A for more than 30 days can be deleted.
[0043] It can be seen that in Figure 1In the method flow shown, when it is determined that the conditions for performing resource coverage processing on the target resource pool are met, for any directory in the target resource pool, the resource coverage policy configured for the directory is queried, and when the resource coverage policy configured for the directory is queried, the resource coverage policy configured for the directory is determined to be the resource coverage policy corresponding to the directory. Then, resource coverage processing can be performed on the directory based on the resource coverage policy corresponding to the directory. By configuring targeted resource coverage policies for the directories in the resource pool, a resource pool is no longer limited to using a unified resource coverage policy for resource coverage processing, thereby improving the flexibility of resource coverage.
[0044] In some embodiments, the data processing method provided in the embodiments of the present application may further include:
[0045] If no resource coverage policy configured for the directory is found, the resource coverage policy configured for the target resource pool is used to determine the resource coverage policy corresponding to the directory.
[0046] Illustratively, in the technical solution provided in the embodiments of the present application, in addition to performing targeted resource coverage policy configuration for the directories in the resource pool in the manner described in the above embodiments, the configuration of the resource coverage policy for the resource pool may also be retained.
[0047] For any directory in a resource pool, if no specific resource coverage policy is configured for the directory, its resource coverage policy may default to the resource coverage policy of the resource pool.
[0048] Accordingly, when it is determined that the conditions for performing resource coverage processing on the target resource pool are met, for any directory in the target resource pool, if the resource coverage policy configured for the directory is not found, the resource coverage policy configured for the target resource pool can be used to determine the resource coverage policy corresponding to the directory.
[0049] In some embodiments, the data processing method provided by the present application may further include:
[0050] When resource coverage processing has been performed on each directory according to the determined resource coverage strategy, if the conditions for performing resource coverage processing on the target resource pool are still met, the resource coverage period of each directory is shortened according to a preset step size, and resource coverage processing is performed on each directory again based on the shortened resource coverage period until the conditions for performing resource coverage processing on the target resource pool are no longer met.
[0051] For example, considering that in actual applications, when resource overwriting is performed on each directory according to the determined resource overwriting strategy, the remaining capacity of the resource pool may still be insufficient, or the remaining capacity of the cloud storage domain may still be insufficient, that is, the conditions for resource overwriting the target resource pool will still be met. In order to avoid the inability to store new data, it is necessary to further perform resource overwriting on the old data.
[0052] Exemplarily, when resource coverage processing has been performed on each directory according to the determined resource coverage strategy, if the conditions for performing resource coverage processing on the target resource pool are still met, the resource coverage period of each directory can be shortened according to a preset step size, and resource coverage processing can be performed on each directory again based on the shortened resource coverage period until the conditions for performing resource coverage processing on the target resource pool are no longer met.
[0053] Exemplarily, the step sizes for shortening the resource coverage periods of different directories may be the same or different.
[0054] For example, the step size for shortening the resource coverage period of different directories is the same. Assuming that resource pool 1 includes directory A and directory B, the resource coverage period indicated by the resource coverage policy of directory A is 60 days, and the resource coverage period indicated by the resource coverage policy of directory B is 30 days, the step size for shortening the resource coverage period of directory A and directory B is 2 days.
[0055] When the conditions for performing resource overwriting processing on resource pool 1 are met, data stored in directory A for more than 60 days can be deleted, and data stored in directory B for more than 30 days can be deleted.
[0056] In the case where the resource coverage processing is performed in the above manner, if the conditions for performing the resource coverage processing on resource pool 1 are still met, the resource coverage period of directory A and directory B can be shortened according to the preset step length, and the shortened resource coverage period of directory A is 58 days, and the shortened resource coverage period of directory B is 28 days. Furthermore, the data stored in directory A for more than 58 days can be deleted, and the data stored in directory B for more than 28 days can be deleted.
[0057] After resource coverage processing has been performed in the above manner, if the conditions for performing resource coverage processing on resource pool 1 are still met, the resource coverage period of directory A and directory B can be shortened according to the preset step size, and resource coverage processing can be performed again on directory A and directory B based on the shortened resource coverage period until the conditions for performing resource coverage processing on resource pool 1 are no longer met.
[0058] For example, when the shortening steps of resource coverage periods of different directories are inconsistent, corresponding shortening steps can be set according to the priorities of different directories, that is, different priorities can be set for different directories respectively, and the higher the priority of the directory, the smaller the shortening step can be.
[0059] In some embodiments, for a monitoring point, its video data is stored in at least two different directories, and the at least two different directories are used to store video data of different priorities of the monitoring point, and the at least two different directories correspond to different resource coverage periods.
[0060] For example, in actual scenarios, the importance of video data at the same monitoring point may vary.
[0061] For example, for a monitoring point set at the entrance of a designated area, the importance of video data when a person is detected is usually higher than the importance of video data when no person is detected.
[0062] In addition, since video data with high importance usually has higher requirements, its retention time should generally be set longer accordingly.
[0063] Therefore, for a monitoring point, the priority of video data in different situations of the monitoring point can be set according to actual needs. At least two different directories are created for the monitoring point in the resource pool to store video data of different priorities of the monitoring point, and different resource coverage periods are set for the at least two directories.
[0064] Exemplarily, the resource coverage period corresponding to the directory for storing high-priority video data may be longer than the resource coverage period corresponding to the directory for storing low-priority video data.
[0065] In one example, for a monitoring point, video data of different priorities include video data of a specified target being detected and video data of a specified target not being detected; video data of a specified target being detected is stored in a first directory, and video data of a specified target not being detected is stored in a second directory, and the resource coverage period corresponding to the first directory is longer than the resource coverage period corresponding to the second directory.
[0066] For example, the designated target may include but is not limited to a person, an animal, or a vehicle.
[0067] Exemplarily, the priority of video data in which the designated target is detected may be higher than the priority of video data in which the designated target is not detected.
[0068] Accordingly, the directory for storing video data of the detected designated target (which may be referred to as the first directory) corresponds to a resource coverage period longer than that of the directory for storing video data of the undetected designated target (which may be referred to as the second directory).
[0069] In another example, for a monitoring point, video data of different priorities include video data that meets the alarm conditions and video data that does not meet the alarm conditions; videos that meet the alarm conditions are stored in a third directory, and videos that do not meet the alarm conditions are stored in a fourth directory, and the resource coverage period corresponding to the third directory is longer than the resource coverage period corresponding to the fourth directory.
[0070] For example, for a monitoring point, when an alarm condition is set for the monitoring point, the importance of video data that meets the alarm condition is usually higher than the importance of video data that does not meet the alarm condition, that is, the priority of video data that meets the alarm condition is higher than the priority of video data that does not meet the alarm condition.
[0071] Accordingly, the resource coverage period corresponding to the directory for storing video data that meets the alarm condition (which may be referred to as the third directory) is longer than that of the directory for storing video data that does not meet the alarm condition (which may be referred to as the fourth directory).
[0072] In order to enable those skilled in the art to better understand the technical solutions provided in the embodiments of the present application, the technical solutions provided in the embodiments of the present application are described below with reference to specific examples.
[0073] The embodiment of the present application proposes a directory-level circular coverage method, which supports resource coverage of data in a resource pool according to different resource coverage strategies.
[0074] The following is an explanation of the target level loop coverage solution implementation provided by this application.
[0075] 1. Create a directory under the resource pool, and store the same type of data in the same directory in the form of files. For example, for resource pool pool1, when writing data to the resource pool, first create a directory / camera1 in the resource pool, and then write file file1 in the directory. The full path of the file is / camera1 / file1.
[0076] 2. If you configure a resource coverage policy for a directory separately, the file data written to this directory will be executed according to the resource coverage policy configured for the directory (which can be called the directory coverage policy). For other directories in the resource pool that do not have a resource coverage period configured, they will be executed according to the resource coverage policy configured for the resource pool (which can be called the resource pool coverage policy).
[0077] Exemplarily, the directory coverage policy indicates the directory coverage period (ie, the length of time data under the directory is retained); the resource pool coverage policy indicates the resource pool coverage period (ie, the length of time data under the resource pool is retained).
[0078] Exemplarily, the priority of the directory coverage period is higher than the priority of the resource pool coverage period, that is, for a directory, when there is a directory coverage period, the data retention period is determined based on the directory coverage period; when there is no directory coverage period, the data retention period is determined based on the resource pool coverage period.
[0079] 3. When a directory resource overwrite policy exists in a resource pool, if the remaining capacity of the resource pool is lower than a preset threshold (such as the first capacity threshold mentioned above) or the remaining capacity in the cloud storage domain is lower than a preset threshold (such as the second preset threshold mentioned above), the resource overwrite of the resource pool is triggered.
[0080] For example, in the process of executing resource coverage, data whose retention time exceeds the resource coverage period can be deleted first. After the data is deleted, if the remaining capacity is still lower than the preset threshold, the resource coverage period can be shortened by m time units. The specific strategy execution method is as follows:
[0081] 3.1. If the remaining capacity of the resource pool is lower than the first capacity threshold or the remaining capacity in the cloud storage domain is lower than the second preset threshold, the resource overwriting process of the resource pool is triggered.
[0082] For example, assuming that the coverage period of the resource pool (i.e., the resource pool coverage period) is 40 days, for files in directories that are not specifically configured with a coverage period under the resource pool, determine whether the files meet the resource pool coverage period; if they do, delete the file data and index. For files in directories that are specifically configured with a coverage period, for example, Figure 2 As shown, assuming that the directory coverage period of directory 1 is 30 days, the directory coverage period of directory 2 is 60 days, and the directory coverage period of directory 3 is 90 days, when traversing to a file belonging to directory 3, reaching the resource pool coverage period but not reaching the directory coverage period of directory 3, the file will not be deleted; if the file under directory 3 reaches the directory coverage period of directory 3, the corresponding file data and index will be deleted.
[0083] Similarly, if the file traversed belongs to directory 1 and the resource pool coverage period has not been reached, but the directory coverage period of directory 1 has been reached, the file data and index will be deleted, and so on, until the remaining capacity of the resource pool after coverage meets the conditions or there is no expired data that can be deleted.
[0084] 3.2. When executing 3.1 above, if the remaining capacity of the resource pool is still insufficient, the data within the period needs to be deleted.
[0085] For example, the resource pool coverage period and the directory coverage period of the directory with the coverage period configured specifically can be pushed forward by m time units, that is, shortened by m time units (such as 1 day). Figure 3 As shown, assuming that the initial directory coverage period of directory 1 is 30 days, the initial directory coverage period of directory 2 is 60 days, the initial directory coverage period of directory three is 90 days, and the initial resource pool coverage period of the resource pool is 40 days, then by pushing the coverage period forward by 1 day, the directory coverage period of directory 1 is 29 days, the directory coverage period of directory 2 is 59 days, the directory coverage period of directory three is 89 days, and the resource pool coverage period of the resource pool is 39 days.
[0086] For files in directories that do not have a resource coverage period configured specifically, if there are files that have been stored for more than 39 days, the corresponding file data and indexes will be deleted.
[0087] For files in directory 1, if there are files whose storage time exceeds 29 days, the corresponding file data and index will be deleted.
[0088] For files in directory 2, if there are files whose storage time exceeds 59 days, the corresponding file data and index will be deleted.
[0089] For files in directory 3, if there are files whose storage time exceeds 89 days, the corresponding file data and index will be deleted.
[0090] When the resource coverage period is shortened in the above manner but the remaining capacity of the resource pool is still insufficient, the resource coverage period can be shortened again, and resource coverage processing can be performed based on the shortened resource coverage period until the remaining capacity of the resource pool meets the requirements.
[0091] The method provided by the present application is described above. The device provided by the present application is described below:
[0092] See also Figure 4 , is a structural diagram of a data processing device provided in an embodiment of the present application, such as Figure 4 As shown, the data processing device may include:
[0093] The query unit 410 is configured to query the resource coverage policy configured for any directory in the target resource pool when it is determined that the condition for performing resource coverage processing on the target resource pool is met;
[0094] The determining unit 420 is configured to determine the resource coverage policy configured for the directory as the resource coverage policy corresponding to the directory when the querying unit 410 queries the resource coverage policy configured for the directory;
[0095] The processing unit 430 is configured to perform resource coverage processing on the directory according to the resource coverage policy corresponding to the directory.
[0096] In some embodiments, the determination unit 420 is further configured to determine the resource coverage policy corresponding to the directory by configuring the resource coverage policy for the target resource pool if the query unit 410 does not query the resource coverage policy configured for the directory.
[0097] In some embodiments, the resource coverage policy is used to indicate a resource coverage period;
[0098] The processing unit 430 is also configured to, when resource coverage processing has been performed on each directory according to the determined resource coverage strategy, if the conditions for performing resource coverage processing on the target resource pool are still met, shorten the resource coverage period of each directory according to a preset step length, and perform resource coverage processing on each directory again according to the shortened resource coverage period until the conditions for performing resource coverage processing on the target resource pool are no longer met.
[0099] In some embodiments, for a monitoring point, its video data is stored in at least two different directories, and the at least two different directories are used to store video data of different priorities of the monitoring point, and the at least two different directories correspond to different resource coverage periods.
[0100] In some embodiments, for a monitoring point, video data of different priorities include video data of detecting a designated target and video data of not detecting the designated target; the video data of detecting the designated target is stored in a first directory, and the video data of not detecting the designated target is stored in a second directory, and the resource coverage period corresponding to the first directory is longer than the resource coverage period corresponding to the second directory.
[0101] In some embodiments, for a monitoring point, video data of different priorities include video data that meets the alarm conditions and video data that does not meet the alarm conditions; the video that meets the alarm conditions is stored in a third directory, and the video that does not meet the alarm conditions is stored in a fourth directory, and the resource coverage period corresponding to the third directory is longer than the resource coverage period corresponding to the fourth directory.
[0102] See also Figure 5, is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. The electronic device may include a processor 501, a communication interface 502, a memory 503 and a communication bus 504. The processor 501, the communication interface 502 and the memory 503 communicate with each other through the communication bus 504. Among them, the memory 503 stores a computer program; the processor 501 can execute the data processing method described above by executing the program stored in the memory 503.
[0103] The memory 503 mentioned herein may be any electronic, magnetic, optical or other physical storage device that may contain or store information, such as executable instructions, data, etc. For example, the memory 503 may be: RAM (Radom Access Memory), volatile memory, non-volatile memory, flash memory, storage drive (such as hard disk drive), solid state drive, any type of storage disk (such as optical disk, DVD, etc.), or similar storage medium, or a combination thereof.
[0104] The present application also provides a non-transitory machine-readable storage medium storing a computer program, such as Figure 5 The computer program may be stored in the memory 503. Figure 5 The processor 501 in the electronic device shown executes to implement the data processing method described above.
[0105] The present application also provides a computer program stored in a non-transitory machine-readable storage medium, such as Figure 5 The memory 503 in the memory, and when the processor executes the computer program, it prompts the processor 501 to execute the data processing method described above.
Claims
1. A data processing method, characterized in that: include: When it is determined that the condition for performing resource coverage processing on the target resource pool is met, for any directory in the target resource pool, querying the resource coverage policy configured for the directory; In the case where the resource coverage policy configured for the directory is queried, the resource coverage policy configured for the directory is determined as the resource coverage policy corresponding to the directory; Perform resource coverage processing on the directory according to the resource coverage strategy corresponding to the directory; In the case that no resource coverage policy configured for the directory is found, the resource coverage policy configured for the target resource pool is determined as the resource coverage policy corresponding to the directory.
2. The method according to claim 1, characterized in that The resource coverage policy is used to indicate the resource coverage period; The method further comprises: When resource coverage processing has been performed on each directory according to the determined resource coverage strategy, if the conditions for performing resource coverage processing on the target resource pool are still met, the resource coverage period of each directory is shortened according to a preset step size, and resource coverage processing is performed on each directory again based on the shortened resource coverage period until the conditions for performing resource coverage processing on the target resource pool are no longer met.
3. The method according to claim 1, characterized in that For a monitoring point, its video data is stored in at least two different directories. The at least two different directories are used to store video data of different priorities of the monitoring point. The at least two different directories correspond to different resource coverage periods.
4. The method according to claim 3, characterized in that For a monitoring point, video data of different priorities include video data in which a designated target is detected and video data in which the designated target is not detected; The video data of the detected designated target is stored in a first directory, and the video data of the undetected designated target is stored in a second directory. The resource coverage period corresponding to the first directory is longer than the resource coverage period corresponding to the second directory.
5. The method according to claim 3, characterized in that: For a monitoring point, video data of different priorities include video data that meets the alarm conditions and video data that does not meet the alarm conditions; the videos that meet the alarm conditions are stored in a third directory, and the videos that do not meet the alarm conditions are stored in a fourth directory, and the resource coverage period corresponding to the third directory is longer than the resource coverage period corresponding to the fourth directory.
6. A data processing device, characterized in that: include: A query unit configured to query a resource coverage policy configured for any directory in the target resource pool when it is determined that a condition for performing resource coverage processing on the target resource pool is met; a determining unit configured to determine the resource coverage policy configured for the directory as the resource coverage policy corresponding to the directory when the query unit queries the resource coverage policy configured for the directory; A processing unit, configured to perform resource coverage processing on the directory according to a resource coverage policy corresponding to the directory; The determining unit is further configured to determine the resource coverage policy configured for the target resource pool as the resource coverage policy corresponding to the directory if the querying unit fails to find the resource coverage policy configured for the directory.
7. An electronic device, characterized in that: include: A processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory, used to store computer programs; A processor, configured to implement the method according to any one of claims 1 to 5 when executing a program stored in a memory.
8. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
